details:   https://code.openbravo.com/erp/devel/pi/rev/1989398b9d5c
changeset: 19434:1989398b9d5c
user:      Augusto Mauch <augusto.mauch <at> openbravo.com>
date:      Fri Jan 25 01:09:49 2013 +0100
summary:   Fixes issue 22882: Windows with status bar fields are rendered in IE9

The way the showIf property is reset has been changed from '' to null, because 
resetting it with '' was failing in IE9 and IE10, and the window was not 
rendered at all.

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 ca2be50e1a13 -r 1989398b9d5c 
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 Jan 24 21:40:30 2013 +0100
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
 Fri Jan 25 01:09:49 2013 +0100
@@ -2233,7 +2233,7 @@
         return !(this.hiddenInForm && !this.statusBarField) && context && 
originalShowIfValue;
       };
       if (fld.statusBarField) {
-        fld.showIf = '';
+        fld.showIf = null;
         fld.statusBarShowIf = newShowIf;
       } else {
         fld.showIf = newShowIf;

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to