Roo/form/ComboBoxArray.js
authorMichael <michael@roojs.com>
Wed, 25 Mar 2015 08:27:15 +0000 (16:27 +0800)
committerMichael <michael@roojs.com>
Wed, 25 Mar 2015 08:27:15 +0000 (16:27 +0800)
Roo/form/ComboBoxArray.js

index c6051e8..9534e3e 100644 (file)
@@ -452,6 +452,10 @@ Roo.extend(Roo.form.ComboBoxArray.Item, Roo.BoxComponent, {
                         String.format('{0}',this.data[this.tipField])
         );
         
+        if(this.cb.disabled){
+            return;
+        }
+
         this.el.child('img').on('click', this.remove, this);
         
     },