X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2Fhtmleditor%2FBlockFigure.js;h=b2f60d4f3619f7733d190efcec6a5b7af2ce718c;hp=233eec4cb7dd484f75a674bfdd7b8689ded6acd4;hb=04ef9d4a7ff68604ce979b431a9a1b89b514ec51;hpb=ec29560d98355e90e9506c0d332b2959434cea28 diff --git a/Roo/htmleditor/BlockFigure.js b/Roo/htmleditor/BlockFigure.js index 233eec4cb7..b2f60d4f36 100644 --- a/Roo/htmleditor/BlockFigure.js +++ b/Roo/htmleditor/BlockFigure.js @@ -311,7 +311,7 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, { }; } // we remove caption totally if its hidden... - will delete data.. but otherwise we end up with fake caption - var captionhtml = this.caption_display == 'hidden' ? '' : (this.caption.length ? this.caption : "Caption"); + var captionhtml = this.caption_display == 'none' ? '' : (this.caption.length ? this.caption : "Caption"); return { tag: 'figure',