Roo/bootstrap/Element.js
authoredward <edward@roojs.com>
Fri, 13 Nov 2015 05:29:24 +0000 (13:29 +0800)
committeredward <edward@roojs.com>
Fri, 13 Nov 2015 05:29:24 +0000 (13:29 +0800)
Roo/bootstrap/Element.js

index 3c8eeab..ad39ca8 100644 (file)
@@ -56,7 +56,9 @@ Roo.extend(Roo.bootstrap.Element, Roo.bootstrap.Component,  {
     {
         Roo.bootstrap.Element.superclass.initEvents.call(this);
         
-        this.el.on('click', this.onClick, this);
+        if(this.clickable){
+            this.el.on('click', this.onClick, this);
+        }
         
     },