fck paste








var oEditor = window.parent.InnerDialogLoaded() ;

window.onload = function ()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document) ;

window.parent.SetOkButton( true ) ;

if ( window.parent.dialogArguments.CustomValue == 'Word' )
{
var oFrame = document.getElementById('frmData')
oFrame.style.display = '' ;
oFrame.contentDocument.designMode = 'on' ;
}
else
document.getElementById('txtData').style.display = '' ;
}

function Ok()
{
if ( window.parent.dialogArguments.CustomValue == 'Word' )
{
var sHtml = document.getElementById('frmData').contentDocument.body.innerHTML ;
oEditor.FCK.CleanAndPaste( sHtml ) ;
}
else
{
var sText = oEditor.FCKTools.HTMLEncode( document.getElementById('txtData').value ) ;
sText = sText.replace( /\n/g, '' ) ;
oEditor.FCK.InsertHtml( sText ) ;
}

return true ;
}






The editor was not able to automaticaly execute pasting
because of the security settings of your browser.

Please paste inside the following box using the keyboard (Ctrl+V)
and hit OK.













Wyszukiwarka

Podobne podstrony:
fck paste
fck paste
fck anchor
fck template
fck radiobutton
fck anchor

więcej podobnych podstron