Update of /cvsroot/spambayes/spambayes/spambayes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14202/spambayes
Modified Files:
ProxyUI.py
Log Message:
Add suggestion from Matt Southall (on wiki) to highlight current row of review
table
with a little bit of javascript. This should still work exactly as it did
before
if javascript isn't available.
Index: ProxyUI.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/ProxyUI.py,v
retrieving revision 1.61
retrieving revision 1.62
diff -C2 -d -r1.61 -r1.62
*** ProxyUI.py 6 Apr 2005 02:38:20 -0000 1.61
--- ProxyUI.py 14 Apr 2005 06:18:16 -0000 1.62
***************
*** 370,373 ****
--- 370,376 ----
row.tokens.href="showclues?key=%s&subject=%s&tokens=1" % (key,
subj)
setattr(row, 'class', ['stripe_on', 'stripe_off'][stripe]) # Grr!
+ setattr(row, 'onMouseOut',
+ ["this.className='stripe_on';",
+ "this.className='stripe_off';"][stripe])
row = str(row).replace('TYPE', label).replace('KEY', key)
table += row
_______________________________________________
Spambayes-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/spambayes-checkins