details:   https://code.openbravo.com/erp/devel/pi/rev/c3b2ab5e195a
changeset: 13996:c3b2ab5e195a
user:      Iván Perdomo <ivan.perdomo <at> openbravo.com>
date:      Mon Oct 17 12:01:15 2011 +0200
summary:   Issue 18763: Check if messageBar existis before trying to access a 
member

diffstat:

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

diffs (12 lines):

diff -r c4d5782bd927 -r c3b2ab5e195a 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
  Mon Oct 17 09:53:48 2011 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
  Mon Oct 17 12:01:15 2011 +0200
@@ -441,7 +441,7 @@
       this.filterImage.show(true);
     } else {
       this.filterImage.prompt = 
OB.I18N.getLabel('OBUIAPP_GridFilterIconToolTip');
-      if (this.view && this.view.messageBar.hasFilterMessage) {
+      if (this.view && this.view.messageBar && 
this.view.messageBar.hasFilterMessage) {
         this.view.messageBar.hide();
       }
       this.filterImage.hide();

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to