[Python-checkins] r82412 - in tracker/instances/python-dev/html: issue.item.html issue.item.js
ezio.melotti
python-checkins at python.org
Thu Jul 1 01:58:07 CEST 2010
Author: ezio.melotti
Date: Thu Jul 1 01:58:07 2010
New Revision: 82412
Log:
Avoid using display:block -- the resize works with display:inline too. Also close the span properly in issue.item.html.
Modified:
tracker/instances/python-dev/html/issue.item.html
tracker/instances/python-dev/html/issue.item.js
Modified: tracker/instances/python-dev/html/issue.item.html
==============================================================================
--- tracker/instances/python-dev/html/issue.item.html (original)
+++ tracker/instances/python-dev/html/issue.item.html Thu Jul 1 01:58:07 2010
@@ -145,7 +145,7 @@
tal:define="current_user request/user/username"
tal:condition="python:request.user.username != 'anonymous' and current_user not in str(context.nosy).replace(' ','').split(',')"
tal:attributes="onclick string:add_to_nosy('$current_user')"
- onclick="add_to_nosy(the_current_username)" />
+ onclick="add_to_nosy(the_current_username)"></span>
</td>
</tr>
<tr>
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 Thu Jul 1 01:58:07 2010
@@ -38,6 +38,6 @@
// hide the button and resize the list to fill the void
var new_width = nosy.offsetWidth + add_me_button.offsetWidth;
add_me_button.style.display = 'none';
- nosy.style.display = 'block';
+ nosy.style.display = 'inline';
nosy.style.width = new_width + "px";
}
More information about the Python-checkins
mailing list