projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
roojs-ui.js
[roojs1]
/
roojs-bootstrap-debug.js
diff --git
a/roojs-bootstrap-debug.js
b/roojs-bootstrap-debug.js
index
48fffc6
..
2f35e10
100644
(file)
--- a/
roojs-bootstrap-debug.js
+++ b/
roojs-bootstrap-debug.js
@@
-27207,7
+27207,11
@@
Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
pressed : false,
enableToggle : true,
setValue : function(v) {
pressed : false,
enableToggle : true,
setValue : function(v) {
- this.toggle(v == 'block' ? false : true);
+ // this trigger toggle.
+
+ var b = block();
+ this.setText(b.caption_display == 'block' ? "Hide Caption" : "Show Caption");
+ this.setPressed(b.caption_display == 'block' ? false: true);
},
listeners : {
toggle: function (btn, state)
},
listeners : {
toggle: function (btn, state)