X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Felements%2Fckeditor%2Fplugins%2Fdiv%2Fdialogs%2Fdiv.js;h=a813a2ae62ea8350286df5969c658910abc79f2a;hb=c94eff6021ef963f08f67da501e756d53a61c50d;hp=963e5d8665560c34ce7c1c393970dfcca3d81fee;hpb=0736a91a87c46f7097ddef9782ddbb59a0ce3304;p=freeside.git diff --git a/httemplate/elements/ckeditor/plugins/div/dialogs/div.js b/httemplate/elements/ckeditor/plugins/div/dialogs/div.js index 963e5d866..a813a2ae6 100644 --- a/httemplate/elements/ckeditor/plugins/div/dialogs/div.js +++ b/httemplate/elements/ckeditor/plugins/div/dialogs/div.js @@ -1,9 +1,9 @@ -(function(){function p(a,k,o){if(!k.is||!k.getCustomData("block_processed"))k.is&&CKEDITOR.dom.element.setMarker(o,k,"block_processed",!0),a.push(k)}function n(a,k){function o(){this.foreach(function(d){if(/^(?!vbox|hbox)/.test(d.type)&&(d.setup||(d.setup=function(c){d.setValue(c.getAttribute(d.id)||"",1)}),!d.commit))d.commit=function(c){var a=this.getValue();"dir"==d.id&&c.getComputedStyle("direction")==a||(a?c.setAttribute(d.id,a):c.removeAttribute(d.id))}})}var n=function(){var d=CKEDITOR.tools.extend({}, -CKEDITOR.dtd.$blockLimit);a.config.div_wrapTable&&(delete d.td,delete d.th);return d}(),q=CKEDITOR.dtd.div,l={},m=[];return{title:a.lang.div.title,minWidth:400,minHeight:165,contents:[{id:"info",label:a.lang.common.generalTab,title:a.lang.common.generalTab,elements:[{type:"hbox",widths:["50%","50%"],children:[{id:"elementStyle",type:"select",style:"width: 100%;",label:a.lang.div.styleSelectLabel,"default":"",items:[[a.lang.common.notSet,""]],onChange:function(){var d=["info:elementStyle","info:class", -"advanced:dir","advanced:style"],c=this.getDialog(),h=c._element&&c._element.clone()||new CKEDITOR.dom.element("div",a.document);this.commit(h,!0);for(var d=[].concat(d),b=d.length,i,e=0;e