roojs-debug.js
authorEdward <edward@roojs.com>
Tue, 18 Feb 2014 08:51:55 +0000 (16:51 +0800)
committerEdward <edward@roojs.com>
Tue, 18 Feb 2014 08:51:55 +0000 (16:51 +0800)
roojs-debug.js

index 73ea411..febda43 100644 (file)
@@ -40389,6 +40389,17 @@ Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField,
         
     },
     
+    /**
+     * Validates the combox array value
+     * @return {Boolean} True if the value is valid, else false
+     */
+    validate : function(){
+        if(this.disabled || this.validateValue(this.processValue(this.getValue()))){
+            this.clearInvalid();
+            return true;
+        }
+        return false;
+    },
     
     validateValue : function(value){
         return Roo.form.ComboBoxArray.superclass.validateValue.call(this, this.getValue());
@@ -40470,21 +40481,8 @@ Roo.extend(Roo.form.ComboBoxArray.Item, Roo.BoxComponent, {
         this.el.child('img').un('click', this.remove, this);
         this.el.remove();
         this.cb.updateHiddenEl();
-    },
-    
-    /**
-     * Validates the combox array value
-     * @return {Boolean} True if the value is valid, else false
-     */
-    validate : function(){
-        if(this.disabled || this.validateValue(this.processValue(this.getValue()))){
-            this.clearInvalid();
-            return true;
-        }
-        return false;
     }
     
-    
 });/*
  * Based on:
  * Ext JS Library 1.1.1