| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Old Sites/modip/survey/admin/scripts/ |
Upload File : |
// $Id: saved.js 9330 2010-10-24 22:23:56Z c_schmitz $
$(document).ready(function(){
handle=$('.tabsinner').tabs(
{
show: loadHTMLEditor
});
});
/**
* This function loads each FCKeditor only when the tab is clicked and only if it is not already loaded
*/
function loadHTMLEditor(event, ui)
{
if (typeof ui.panel.selector != 'undefined')
{
sSelector=ui.panel.selector;
}
else
{
sSelector='#'+ui.panel.id;
}
if ($(sSelector+' iframe').size()==0)
{
sCKEditorInstanceName='oFCKeditor_'+$(sSelector+' textarea').attr('id').replace(/-/g, "_");
eval("if (typeof "+sCKEditorInstanceName+" != 'undefined')"+sCKEditorInstanceName+".ReplaceTextarea();");
}
}
function fillin(tofield, fromfield)
{
if (confirm(sReplaceTextConfirmation))
{
if (document.getElementById(tofield).readOnly == false)
{
$('#'+tofield).val($('#'+fromfield).val());
}
updateCKeditor(tofield,$('#'+fromfield).val());
}
}