details:   https://code.openbravo.com/erp/devel/pi/rev/83655f9606f4
changeset: 20405:83655f9606f4
user:      Augusto Mauch <augusto.mauch <at> openbravo.com>
date:      Mon May 20 17:45:39 2013 +0200
summary:   Related to issue 23761: Remove members after destroying them

diffstat:

 
modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
 |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 9ddba74744a6 -r 83655f9606f4 
modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
--- 
a/modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
  Mon May 20 17:06:25 2013 +0200
+++ 
b/modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
  Mon May 20 17:45:39 2013 +0200
@@ -103,7 +103,6 @@
     if (!isc.isA.Array(toDestroy)) {
       toDestroy = [toDestroy];
     }
-    this.removeMembers(toDestroy);
     len = toDestroy.length;
     for (i = 0; i < len; i++) {
       if (toDestroy[nextIndex] && toDestroy[nextIndex].destroy) {
@@ -113,6 +112,7 @@
         nextIndex = nextIndex + 1;
       }
     }
+    this.removeMembers(toDestroy);
   }
 });
 

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to