[Python-checkins] r88844 - tracker/instances/python-dev/html/issue.item.js

ezio.melotti python-checkins at python.org
Sat May 28 03:10:28 CEST 2011


Author: ezio.melotti
Date: Sat May 28 03:10:27 2011
New Revision: 88844
Log:
Try to make the "Show/Hide History" button work on ie6/7.
Modified:
 tracker/instances/python-dev/html/issue.item.js
Modified: tracker/instances/python-dev/html/issue.item.js
==============================================================================
--- tracker/instances/python-dev/html/issue.item.js	(original)
+++ tracker/instances/python-dev/html/issue.item.js	Sat May 28 03:10:27 2011
@@ -50,8 +50,8 @@
 /* select and hide all the tr except the first one ("History") */
 $('table.history tr:not(:first-child)').toggle();
 th.click(function() {
- $('table.history tr:not(:first-child)').toggle();
+ $('table.history tr:not(:first-child):not(#togglehistory)').toggle();
 th.text(th.text() == 'Show History' ? 'Hide History' : 'Show History');
 });
- $('table.history').append(th.wrap('<tr id="togglehistory" />'));
+ $('table.history').append(th.wrap('<tr id="togglehistory">').parent());
 })


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /