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-ui-debug.js
diff --git
a/roojs-ui-debug.js
b/roojs-ui-debug.js
index
7064634
..
4accc54
100644
(file)
--- a/
roojs-ui-debug.js
+++ b/
roojs-ui-debug.js
@@
-23576,10
+23576,9
@@
Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
enableToggle : true,
setValue : function(v) {
// this trigger toggle.
enableToggle : true,
setValue : function(v) {
// this trigger toggle.
-
- var b = block();
- this.setText(b.caption_display == 'block' ? "Hide Caption" : "Show Caption");
- this.setPressed(b.caption_display == 'block' ? false: true);
+
+ this.setText(v ? "Hide Caption" : "Show Caption");
+ this.setPressed(v);
},
listeners : {
toggle: function (btn, state)
},
listeners : {
toggle: function (btn, state)