projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
387c07a
)
Roo/bootstrap/Container.js
author
edward
<edward@roojs.com>
Mon, 25 Apr 2016 06:56:52 +0000
(14:56 +0800)
committer
edward
<edward@roojs.com>
Mon, 25 Apr 2016 06:56:52 +0000
(14:56 +0800)
Roo/bootstrap/Container.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Container.js
b/Roo/bootstrap/Container.js
index
ed393a1
..
1cc8ba9
100644
(file)
--- a/
Roo/bootstrap/Container.js
+++ b/
Roo/bootstrap/Container.js
@@
-232,7
+232,9
@@
Roo.extend(Roo.bootstrap.Container, Roo.bootstrap.Component, {
}
}
-
+ if(this.clickable){
+ this.el.on('click', this.onClick, this);
+ }
},
@@
-351,6
+353,13
@@
Roo.extend(Roo.bootstrap.Container, Roo.bootstrap.Component, {
}
t.dom.innerHTML = v;
+ },
+
+ onClick : function(e)
+ {
+ e.preventDefault();
+
+ this.fireEvent('click', this, e);
}
});