From 0947f140ccae30f735c195837d0209264fbb9fe1 Mon Sep 17 00:00:00 2001 From: edward Date: Fri, 13 Nov 2015 13:29:24 +0800 Subject: [PATCH] Roo/bootstrap/Element.js --- Roo/bootstrap/Element.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Roo/bootstrap/Element.js b/Roo/bootstrap/Element.js index 3c8eeab9d4..ad39ca8b9d 100644 --- a/Roo/bootstrap/Element.js +++ b/Roo/bootstrap/Element.js @@ -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); + } }, -- 2.39.2