You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.2 KiB
47 lines
1.2 KiB
<?xml version="1.0" encoding="utf-8" ?>
|
|
<jsml xmlns="http://cutesoft.net/jsml"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://cutesoft.net/jsml ../core/jsml.xsd">
|
|
|
|
<execute>
|
|
dialog.set_title(editor.GetLangText("insertchars"));
|
|
</execute>
|
|
|
|
<panel jsml-class="insertchars_dialog" dock="fill" overflow="visible">
|
|
<htmlcontrol dock="fill" jsml-local="hc">
|
|
</htmlcontrol>
|
|
<attach name="attach_dom">
|
|
<![CDATA[
|
|
setTimeout(function()
|
|
{
|
|
if(self.iframe)return;
|
|
|
|
window.rteinsertcharseditor=editor;
|
|
window.rteinsertcharsdialog=dialog;
|
|
|
|
dialog.attach_event("closing",function()
|
|
{
|
|
window.rteinsertcharseditor=null;
|
|
window.rteinsertcharsdialog=null;
|
|
});
|
|
|
|
var iframe=document.createElement("IFRAME");
|
|
iframe.setAttribute("src","{folder}aspnet/insertchars.htm?{timems}");
|
|
iframe.setAttribute("frameBorder","0");
|
|
hc._content.appendChild(iframe);
|
|
self.iframe=iframe;
|
|
self.invoke_event("resize");
|
|
},10);
|
|
]]>
|
|
</attach>
|
|
<attach name="resize">
|
|
if(!self.iframe)return;
|
|
self.iframe.style.width=hc.get_client_width()+"px";
|
|
self.iframe.style.height=hc.get_client_height()+"px";
|
|
</attach>
|
|
</panel>
|
|
|
|
<panel jsml-base="insertchars_dialog" />
|
|
|
|
|
|
</jsml>
|