details:   https://code.openbravo.com/erp/devel/pi/rev/3f6d559f65bc
changeset: 21100:3f6d559f65bc
user:      Shankar Balachandran <shankar.balachandran <at> openbravo.com>
date:      Sun Sep 08 17:36:53 2013 +0530
summary:   Related to Issue 0024611: Removing deleting prompt when there is an 
error

When saving record failed due to error, the loading prompt stays indefinitely.
Removing prompt if the save has been bailed due to errors.

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
 |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 988629436d33 -r 3f6d559f65bc 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
 Mon Aug 26 19:57:58 2013 +0530
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
 Sun Sep 08 17:36:53 2013 +0530
@@ -1749,6 +1749,8 @@
 
           if (!localData) {
             // bail out, an error occured which should be displayed to the 
user now
+            //clear deleting prompt
+            isc.clearPrompt();
             return;
           }
           var status = resp.status;

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to