[Python-checkins] r88907 - tracker/instances/python-dev/html/issue.item.js
ezio.melotti
python-checkins at python.org
Tue Oct 11 04:33:38 CEST 2011
Author: ezio.melotti
Date: Tue Oct 11 04:33:38 2011
New Revision: 88907
Log:
Improve the "clear this message" link.
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 Tue Oct 11 04:33:38 2011
@@ -304,3 +304,12 @@
get_json('experts', data.add);
get_json('devs', data.add);
});
+
+
+$(document).ready(function() {
+ /* Make the "clear this message" link in the ok_message point
+ * to issue page without including any extra arg */
+ var link = $('p.ok-message a.form-small').first();
+ if (link.length != 0)
+ link.attr('href', link.attr('href').split('?')[0]);
+});
More information about the Python-checkins
mailing list