projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ea1acb
)
Roo/htmleditor/BlockFigure.js
author
Alan
<alan@roojs.com>
Tue, 15 Mar 2022 07:34:20 +0000
(15:34 +0800)
committer
Alan
<alan@roojs.com>
Tue, 15 Mar 2022 07:34:20 +0000
(15:34 +0800)
Roo/htmleditor/BlockFigure.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/BlockFigure.js
b/Roo/htmleditor/BlockFigure.js
index
5ceb444
..
b7f3fc6
100644
(file)
--- a/
Roo/htmleditor/BlockFigure.js
+++ b/
Roo/htmleditor/BlockFigure.js
@@
-237,7
+237,7
@@
Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
// this trigger toggle.
this.setText(v ? "Hide Caption" : "Show Caption");
- this.setPressed(v);
+ this.setPressed(v
!= 'block'
);
},
listeners : {
toggle: function (btn, state)