details:   /erp/devel/pi/rev/97ed5fb24ab8
changeset: 10518:97ed5fb24ab8
user:      Antonio Moreno <antonio.moreno <at> openbravo.com>
date:      Thu Feb 10 11:25:01 2011 +0100
summary:   Fix so that the message box doesn't immediately disappear after a 
process is executed.

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form.js
 |  1 -
 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-grid.js
 |  7 ++++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r daddaf069115 -r 97ed5fb24ab8 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form.js
  Thu Feb 10 11:17:18 2011 +0100
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form.js
  Thu Feb 10 11:25:01 2011 +0100
@@ -113,7 +113,6 @@
 
     this.retrieveInitialValues(isNew);
     
-    this.view.messageBar.hide();
     // note on purpose using this.isNew, also takes into account the _new flag
     if (this.isNew) {
       this.view.statusBar.setStateLabel('OBUIAPP_New', 
this.view.statusBar.newIcon);
diff -r daddaf069115 -r 97ed5fb24ab8 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-grid.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-grid.js
  Thu Feb 10 11:17:18 2011 +0100
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-grid.js
  Thu Feb 10 11:25:01 2011 +0100
@@ -821,7 +821,6 @@
       
     // close any editors we may have
     this.closeAnyOpenEditor();
-    this.view.messageBar.hide();
     this.stopHover();
     this.updateSelectedCountDisplay();
     this.view.recordSelected();
@@ -1213,7 +1212,8 @@
     if (this.getEditForm()) {
       this.getEditForm().clearErrors();
     }
-    
+
+    this.view.messageBar.hide();
     if (record && record.editColumnLayout) {
       record.editColumnLayout.showEditOpen();
     } else if (this.getEditForm().getValues().editColumnLayout) {
@@ -1263,7 +1263,8 @@
     if (record && record.editColumnLayout) {
       record.editColumnLayout.showSaveCancel();
     }
-    
+
+    this.view.messageBar.hide();
     this.view.toolBar.updateButtonState();
 
     return ret;

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to