[Checkins]
SVN: Sandbox/pcardune/z3cFormJS/trunk/src/z3c/formjs/jsbutton.txt
changed doctest to reflect a more common usage.
Paul Carduner
paulcarduner at gmail.com
Sat Jun 23 19:35:45 EDT 2007
Log message for revision 76995:
changed doctest to reflect a more common usage.
Changed:
U Sandbox/pcardune/z3cFormJS/trunk/src/z3c/formjs/jsbutton.txt
-=-
Modified: Sandbox/pcardune/z3cFormJS/trunk/src/z3c/formjs/jsbutton.txt
===================================================================
--- Sandbox/pcardune/z3cFormJS/trunk/src/z3c/formjs/jsbutton.txt 2007-06-23 23:30:21 UTC (rev 76994)
+++ Sandbox/pcardune/z3cFormJS/trunk/src/z3c/formjs/jsbutton.txt 2007-06-23 23:35:44 UTC (rev 76995)
@@ -36,11 +36,11 @@
... buttons = button.Buttons(IButtons)
... prefix = 'form'
...
- ... @jsbutton.handler(IButtons['apply'])
+ ... @jsbutton.handler(buttons['apply'])
... def apply(self, id):
... return 'alert("You Clicked the Apply Button!");'
...
- ... @jsbutton.handler(IButtons['cancel'], event=jsevent.DBLCLICK)
+ ... @jsbutton.handler(buttons['cancel'], event=jsevent.DBLCLICK)
... def cancel(self, id):
... return 'alert("You Double Clicked the Cancel Button!");'
More information about the Checkins
mailing list