web/views/iprogress.py
changeset 5727 29afb9e715bb
parent 5722 61d6a4caa963
child 6496 21bbb561809b
--- a/web/views/iprogress.py	Fri Jun 11 07:58:52 2010 +0200
+++ b/web/views/iprogress.py	Fri Jun 11 07:58:53 2010 +0200
@@ -71,8 +71,8 @@
                 content = entity.printable_value(col)
             infos[col] = content
         cssclass = entity.cw_adapt_to('IMileStone').progress_class()
-        self.w(u"""<tr class="%s" onmouseover="addElementClass(this, 'highlighted');"
-            onmouseout="removeElementClass(this, 'highlighted')">""" % cssclass)
+        self.w(u"""<tr class="%s" onmouseover="$(this).addClass('highlighted');"
+            onmouseout="$(this).removeClass('highlighted')">""" % cssclass)
         line = u''.join(u'<td>%%(%s)s</td>' % col for col in self.columns)
         self.w(line % infos)
         self.w(u'</tr>\n')