BUG Move "Enable HTML Editing" checkbox, "Restore Original HTML" SOLVED
- Move "Enable HTML Editing" checkbox, "Restore Original HTML" and "Refresh view" buttons to top of "HTML" tab in DynaForm Editor. - Added messageBox of alert.
This commit is contained in:
@@ -73,7 +73,18 @@ getField("PME_HTML_ENABLETEMPLATE","dynaforms_HtmlEditor").onclick=function()
|
|||||||
{
|
{
|
||||||
/*getField("ENABLETEMPLATE","dynaforms_Properties").checked=this.checked;
|
/*getField("ENABLETEMPLATE","dynaforms_Properties").checked=this.checked;
|
||||||
dynaformEditor.saveProperties();*/
|
dynaformEditor.saveProperties();*/
|
||||||
dynaformEditor.setEnableTemplate( this.checked );
|
if (getField("PME_HTML_ENABLETEMPLATE","dynaforms_HtmlEditor").checked == true) {
|
||||||
|
new leimnud.module.app.confirm().make(
|
||||||
|
{
|
||||||
|
label: "@G::LoadTranslation(ID_MSG_ENABLE_HTML_EDITING)",
|
||||||
|
size:{ w: 350, h: 150 },
|
||||||
|
action: function() { },
|
||||||
|
cancel: function() {
|
||||||
|
getField("PME_HTML_ENABLETEMPLATE","dynaforms_HtmlEditor").checked = false;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
dynaformEditor.setEnableTemplate( this.checked );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]]></PME_RESIZE_JS>
|
]]></PME_RESIZE_JS>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user