details:   https://code.openbravo.com/erp/devel/pi/rev/e2ec63c13ec4
changeset: 21117:e2ec63c13ec4
user:      Asier Lostalé <asier.lostale <at> openbravo.com>
date:      Thu Sep 12 17:09:58 2013 +0200
summary:   fixed bug 24695: note is alert not saved if they are edited just 
before moving

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/alert-management/ob-alert-management-view.js
 |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 9fda38a2d2d8 -r e2ec63c13ec4 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/alert-management/ob-alert-management-view.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/alert-management/ob-alert-management-view.js
     Thu Sep 12 13:53:46 2013 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/alert-management/ob-alert-management-view.js
     Thu Sep 12 17:09:58 2013 +0200
@@ -11,7 +11,7 @@
  * under the License.
  * The Original Code is Openbravo ERP.
  * The Initial Developer of the Original Code is Openbravo SLU
- * All portions are Copyright (C) 2011-2012 Openbravo SLU
+ * All portions are Copyright (C) 2011-2013 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -249,6 +249,9 @@
       'alertIDs': alertIDs
     };
 
+    // persist not saved editions before moving
+    this.grids[oldStatus].saveAllEdits();
+
     
OB.RemoteCallManager.call('org.openbravo.client.application.AlertManagementActionHandler',
 post, {}, function (rpcResponse, data, rpcRequest) {
       OB.AlertManagement.grids[data.newStatus].invalidateCache();
       // If section has not been expanded the grid is not reloaded so the 
total rows is not updated.

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to