[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
r5034 - trunk/gnue-forms/src
From: |
jamest |
Subject: |
r5034 - trunk/gnue-forms/src |
Date: |
Wed, 14 Jan 2004 19:09:43 -0600 (CST) |
Author: jamest
Date: 2004-01-14 19:09:42 -0600 (Wed, 14 Jan 2004)
New Revision: 5034
Modified:
trunk/gnue-forms/src/GFDisplayHandler.py
Log:
simple hack to allow dropdowns to change field
values on every new selection. this fires the
field's post-change trigger.
Modified: trunk/gnue-forms/src/GFDisplayHandler.py
===================================================================
--- trunk/gnue-forms/src/GFDisplayHandler.py 2004-01-10 11:21:22 UTC (rev
5033)
+++ trunk/gnue-forms/src/GFDisplayHandler.py 2004-01-15 01:09:42 UTC (rev
5034)
@@ -771,6 +771,14 @@
self.selection1 = 0
self.selection2 = len(self.display)
self.addText(event)
+ self.endEdit(event) # Hack: allows dropdowns to change field
+ # value immediately (causes post-change
+ # on the field to fire).
+ # I don't think it'll hurt anything.
+ # if it does then we'll need to pull
+ # the logic from FieldDisplayHandler.endEdit
+ # and add here. - jamest
+
def _buildValue(self):
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- r5034 - trunk/gnue-forms/src,
jamest <=