[Spambayes-checkins] spambayes/spambayes ProxyUI.py,1.61,1.62
Tony Meyer
anadelonbrin at users.sourceforge.net
Thu Apr 14 08:18:20 CEST 2005
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
More information about the Spambayes-checkins
mailing list