details:   https://code.openbravo.com/erp/devel/pi/rev/099306d7023d
changeset: 14206:099306d7023d
user:      David Baz Fayos <david.baz <at> openbravo.com>
date:      Mon Nov 07 18:24:51 2011 +0100
summary:   Fixed issue 17569 - Fixed issue 18892
Changed X-UA-Compatible html meta attribute in order to
fix some strange form items displacements.

Adapted also OBImage styles in order to work ok with new attribute.

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.js
 |  8 +-------
 src/index.jsp                                                                  
                                                                                
 |  2 +-
 2 files changed, 2 insertions(+), 8 deletions(-)

diffs (37 lines):

diff -r 9119d097691b -r 099306d7023d 
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.js
   Mon Nov 07 11:22:33 2011 +0100
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.js
   Mon Nov 07 18:24:51 2011 +0100
@@ -428,12 +428,6 @@
   titleStyle: 'OBFormFieldLabel'
 });
 
-if (navigator.userAgent.toUpperCase().indexOf("MSIE") >= 0) { //IE hack to 
avoid item be 12 px below the title
-  OBImageCanvas.addProperties({
-    layoutTopMargin: -12
-  });
-}
-
 isc.OBImageCanvas.addProperties({
   height: '0px', // Hack to avoid second line be desplaced in Firefox and IE
   zoomInCursorSrc: OB.Styles.skinsPath + 
'Default/org.openbravo.client.application/images/system/zoomIn.cur',
@@ -490,7 +484,7 @@
   height: 24
 });
 
-isc.ClassFactory.defineClass('OBSectionItemButton', ImgSectionHeader);
+isc.ClassFactory.defineClass('OBSectionItemButton', isc.ImgSectionHeader);
 isc.OBSectionItemButton.changeDefaults('backgroundDefaults', {
   showRollOver: true,
   showDown: false,
diff -r 9119d097691b -r 099306d7023d src/index.jsp
--- a/src/index.jsp     Mon Nov 07 11:22:33 2011 +0100
+++ b/src/index.jsp     Mon Nov 07 18:24:51 2011 +0100
@@ -78,7 +78,7 @@
 
 <html>
 <head>
-<meta http-equiv="X-UA-Compatible" content="IE=8">
+<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
 <meta http-equiv="Expires" content="Tue, 24 Apr 1979 00:00:01 GMT"/>
 <meta http-equiv="Content-type" content="text/html;charset=utf-8"/>
 <meta http-equiv="Pragma" content="no-cache" >

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to