X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2Fhtmleditor%2FBlockFigure.js;fp=Roo%2Fhtmleditor%2FBlockFigure.js;h=5ceb4449028414735a7486af3f749ef483a36650;hp=729d68520029d6d3597bf2dbaa713c31b80e8c60;hb=848a7d125ce535e50afbba079d7d22f25f909b36;hpb=1ae794fd36ef6570a7b06810a9b7b0a3e1ea6155 diff --git a/Roo/htmleditor/BlockFigure.js b/Roo/htmleditor/BlockFigure.js index 729d685200..5ceb444902 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); }, listeners : { toggle: function (btn, state)