[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
r6421 - trunk/gnue-forms/src
From: |
jamest |
Subject: |
r6421 - trunk/gnue-forms/src |
Date: |
Tue, 28 Sep 2004 20:58:21 -0500 (CDT) |
Author: jamest
Date: 2004-09-28 20:58:20 -0500 (Tue, 28 Sep 2004)
New Revision: 6421
Modified:
trunk/gnue-forms/src/GFInstance.py
Log:
fix for autocommit marked blocks trying to commit empty or already saved forms
Modified: trunk/gnue-forms/src/GFInstance.py
===================================================================
--- trunk/gnue-forms/src/GFInstance.py 2004-09-29 01:19:53 UTC (rev 6420)
+++ trunk/gnue-forms/src/GFInstance.py 2004-09-29 01:58:20 UTC (rev 6421)
@@ -883,7 +883,7 @@
event._form.processTrigger ('Pre-Exit', ignoreAbort = False)
# TODO: WTF? This isn't saving a currently edited field
- if event._form._currentBlock.autoCommit:
+ if event._form._currentBlock.autoCommit and not event._form.isSaved ():
event._form.endEditing ()
event._form.commit ()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- r6421 - trunk/gnue-forms/src,
jamest <=