details:   /erp/devel/pi/rev/ae13078f53c0
changeset: 12304:ae13078f53c0
user:      Iván Perdomo <ivan.perdomo <at> openbravo.com>
date:      Mon May 23 10:54:06 2011 +0200
summary:   Issue 17266: Reference to view is not always present

diffstat:

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

diffs (12 lines):

diff -r f45776302651 -r ae13078f53c0 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-grid.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-grid.js
       Mon May 23 10:26:13 2011 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-grid.js
       Mon May 23 10:54:06 2011 +0200
@@ -298,7 +298,7 @@
       this.filterImage.show(true);
     } else {
       this.filterImage.prompt = 
OB.I18N.getLabel('OBUIAPP_GridFilterIconToolTip');
-      if (this.view.messageBar.hasFilterMessage) {
+      if (this.view && this.view.messageBar.hasFilterMessage) {
         this.view.messageBar.hide();
       }
       this.filterImage.hide();

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to