details:   https://code.openbravo.com/erp/devel/pi/rev/af40fd7a85c8
changeset: 13792:af40fd7a85c8
user:      Martin Taal <martin.taal <at> openbravo.com>
date:      Mon Sep 19 14:17:06 2011 +0200
summary:   Fixes issue 18516: Filtering doesn't work when the user scrolls 
horizontally in the grid
Prevent javascript error when adding columns

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js
 |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 5fc5cf465daa -r af40fd7a85c8 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js
      Mon Sep 19 14:06:30 2011 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js
      Mon Sep 19 14:17:06 2011 +0200
@@ -36,8 +36,6 @@
   doBlurLogic: true,
   
   init: function(){
-    var length = this.validators.length;
-    
     this.setKeyPressFilter(this.keyPressFilterNumeric);
     this.typeInstance = SimpleType.getType(this.type);
     return this.Super('init', arguments);
@@ -499,7 +497,7 @@
                    'lessThan', 'lessThanOrEqual', 'greaterThanOrEqual',
                    'between', 'betweenInclusive', 'isNull', 'isNotNull'
                    ],
-
+  
   // prevent handling of equal symbol in filteritem
   keyDownAction: function(item, form, keyName){
     var keyCode = isc.EventHandler.lastEvent.nativeKeyCode;

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to