X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2Fhtmleditor%2FBlockFigure.js;h=b7f3fc61da08376f31236264ff9aeb0c22d89e53;hp=5ceb4449028414735a7486af3f749ef483a36650;hb=1ce0612712cb5f2ea9d8ae2bb82f08aca5fe9cd1;hpb=9ea1acba83952bd78bc099d6897a9c904cd189f8 diff --git a/Roo/htmleditor/BlockFigure.js b/Roo/htmleditor/BlockFigure.js index 5ceb444902..b7f3fc61da 100644 --- 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)