Author: reinhard
Date: 2006-08-27 12:05:00 -0500 (Sun, 27 Aug 2006)
New Revision: 8639
Modified:
trunk/gnue-forms/src/input/displayHandlers/Checkbox.py
Log:
Immediately notify the underlying GFField when the user checks/unchecks a
checkbox.
Modified: trunk/gnue-forms/src/input/displayHandlers/Checkbox.py
===================================================================
--- trunk/gnue-forms/src/input/displayHandlers/Checkbox.py 2006-08-27
17:02:07 UTC (rev 8638)
+++ trunk/gnue-forms/src/input/displayHandlers/Checkbox.py 2006-08-27
17:05:00 UTC (rev 8639)
@@ -88,6 +88,7 @@
self.work = value
self.modified = True
self._buildDisplay ()
+ self.updateFieldValue()
# Toggle value of checkbox
def __toggle (self):
@@ -101,6 +102,7 @@
self.work = allowed[next]
self.modified = True
self._buildDisplay ()
+ self.updateFieldValue()
# Handle requestTOGGLECHKBOX event
_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue