details:   https://code.openbravo.com/erp/devel/pi/rev/ea59c08f2c51
changeset: 18065:ea59c08f2c51
user:      Augusto Mauch <augusto.mauch <at> openbravo.com>
date:      Thu Sep 27 19:13:09 2012 +0200
summary:   Fixes issue 21780: Added missing not null check

diffstat:

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

diffs (12 lines):

diff -r 715dc4281355 -r ea59c08f2c51 
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
 Thu Sep 27 17:46:22 2012 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
 Thu Sep 27 19:13:09 2012 +0200
@@ -1415,7 +1415,7 @@
     };
 
     if (!newRecordsToBeIncluded) {
-      if (this.parentRecordId) {
+      if (this.parentRecordId && this.newRecordsAfterRefresh) {
         this.newRecordsAfterRefresh[this.parentRecordId] = [];
       } else {
         this.newRecordsAfterRefresh = [];

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to