Roo/bootstrap/TriggerField.js
authorAlan Knowles <alan@roojs.com>
Thu, 11 Sep 2014 11:37:31 +0000 (19:37 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 11 Sep 2014 11:37:31 +0000 (19:37 +0800)
Roo/bootstrap/TriggerField.js

index 5aa28ed..3944dca 100644 (file)
@@ -382,6 +382,7 @@ Roo.extend(Roo.bootstrap.TriggerField, Roo.bootstrap.Input,  {
 
     // private
     onDisable : function(){
+        this.inputEl().dom.disabled = true;
         //Roo.bootstrap.TriggerField.superclass.onDisable.call(this);
         //if(this.wrap){
         //    this.wrap.addClass('x-item-disabled');
@@ -390,6 +391,7 @@ Roo.extend(Roo.bootstrap.TriggerField, Roo.bootstrap.Input,  {
 
     // private
     onEnable : function(){
+        this.inputEl().dom.disabled = false;
         //Roo.bootstrap.TriggerField.superclass.onEnable.call(this);
         //if(this.wrap){
         //    this.el.removeClass('x-item-disabled');