From 4e6b7d1cffe90d801ddfab91ebad6d516886d699 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Thu, 16 Jul 2009 15:35:58 -0400 Subject: [PATCH] Bugfix for history refresh in IE --- templates/root/history.mako | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/templates/root/history.mako b/templates/root/history.mako index 5f21840e10a..fb62d489806 100644 --- a/templates/root/history.mako +++ b/templates/root/history.mako @@ -73,9 +73,12 @@ }); // Updater updater({ - %for data in reversed( datasets ): + %for i, data in enumerate( reversed( datasets ) ): %if data.visible and data.state not in [ "deleted", "empty", "error", "ok" ]: - "${data.id}": "${data.state}"; + %if i > 0: + , + %endif + "${data.id}": "${data.state}" %endif %endfor });