details:   https://code.openbravo.com/erp/devel/pi/rev/5e5fb94fad0b
changeset: 22147:5e5fb94fad0b
user:      Asier Lostalé <asier.lostale <at> openbravo.com>
date:      Wed Feb 26 13:33:41 2014 +0100
summary:   fixed bug 25832: Problem with the status of process requests

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-action-button.js
 |  6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r b2b40bda6f96 -r 5e5fb94fad0b 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-action-button.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-action-button.js
      Wed Feb 26 11:18:38 2014 +0100
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-action-button.js
      Wed Feb 26 13:33:41 2014 +0100
@@ -154,6 +154,12 @@
       contextView.getTabMessage();
       contextView.toolBar.refreshCustomButtons();
 
+      if (contextView && contextView.viewGrid && 
contextView.viewGrid.discardAllEdits) {
+        // discard edits coming from FIC as they pollute the state and they're 
already
+        // reloaded
+        contextView.viewGrid.discardAllEdits();
+      }
+
       if (contextView !== currentView && currentView.state === 
isc.OBStandardView.STATE_TOP_MAX) {
         // Executing an action defined in parent tab, current tab is maximized,
         // let's set half for each in order to see the message

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to