Fixed issue 24599: menu items heigh is now ok in Firefox >= 16
authorDavid Baz Fayos <david.baz@openbravo.com>
Wed, 28 Aug 2013 00:43:26 +0200
changeset 21040 2ca13963417f
parent 21039 aa3e09dbd8a8
child 21041 74e284988f42
Fixed issue 24599: menu items heigh is now ok in Firefox >= 16
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-application-styles.js
--- a/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-application-styles.js	Wed Aug 28 00:13:54 2013 +0200
+++ b/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-application-styles.js	Wed Aug 28 00:43:26 2013 +0200
@@ -24,6 +24,12 @@
  * 3) Changes to standard isc.Dialog buttons
  =======================================================================*/
 
+if (isc.Menu && isc.Browser.isFirefox && isc.Browser.version >= 16) {
+  // To fix issue: http://forums.smartclient.com/showthread.php?t=24978
+  isc.Menu.addProperties({
+    fixedRecordHeights: true
+  });
+}
 
 /* =====================================================================
  * Main layout styling properties