projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Roo/bootstrap/Button.js
[roojs1]
/
Roo
/
bootstrap
/
Button.js
diff --git
a/Roo/bootstrap/Button.js
b/Roo/bootstrap/Button.js
index
6dcdf58
..
a3a991b
100644
(file)
--- a/
Roo/bootstrap/Button.js
+++ b/
Roo/bootstrap/Button.js
@@
-308,6
+308,7
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
if(this.preventDefault){
e.preventDefault();
}
+
if (this.pressed === true || this.pressed === false) {
this.pressed = !this.pressed;
this.el[this.pressed ? 'addClass' : 'removeClass']('active');