dabo Commit
Revision 6810
Date: 2011-08-30 18:16:47 -0700 (Tue, 30 Aug 2011)
Author: Paul
Trac: http://trac.dabodev.com/changeset/6810

Changed:
U   trunk/dabo/ui/uiwx/dForm.py

Log:
Removed the call to biz.cancel() from dForm.confirmChanges(), per discussion
on dabo-dev today.


Diff:
Modified: trunk/dabo/ui/uiwx/dForm.py
===================================================================
--- trunk/dabo/ui/uiwx/dForm.py 2011-08-31 01:05:52 UTC (rev 6809)
+++ trunk/dabo/ui/uiwx/dForm.py 2011-08-31 01:16:47 UTC (rev 6810)
@@ -172,9 +172,11 @@
                                for biz in changedBizList:
                                        self.save(dataSource=biz.DataSource)
                        elif response == False:  ## no
-                               for biz in changedBizList:
-                                       if biz.RowCount:
-                                               
self.cancel(dataSource=biz.DataSource)
+                               pass
+                               # why bother cancelling when the bizobj will 
just go away?
+                               #for biz in changedBizList:
+                                       #if biz.RowCount:
+                                               
#self.cancel(dataSource=biz.DataSource)
                return True
 
 



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to