From 795fd018608e00717f6a059b17523ef66400a038 Mon Sep 17 00:00:00 2001 From: Ivan Tcholakov <ivantcholakov@gmail.com> Date: Fri, 9 Jul 2010 19:46:15 +0300 Subject: [PATCH] Feature #541 - Online editor, minor changes. --- main/inc/lib/fckeditor/editor/fckdialog.html | 2 +- main/inc/lib/fckeditor/editor/fckdialogframe.html | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) mode change 100644 => 100755 main/inc/lib/fckeditor/editor/fckdialogframe.html diff --git a/main/inc/lib/fckeditor/editor/fckdialog.html b/main/inc/lib/fckeditor/editor/fckdialog.html index a4a5ab208a..5cbb1ae44c 100755 --- a/main/inc/lib/fckeditor/editor/fckdialog.html +++ b/main/inc/lib/fckeditor/editor/fckdialog.html @@ -815,7 +815,7 @@ var onReadyRegister = function() document.write( Args().Title ) ; // ]]> </script> - <div id="closeButton" onclick="Cancel();"></div> + <div id="closeButton" onclick="javascript: Cancel();"></div> </div> <div id="TabsRow" class="PopupTabArea" style="display: none"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> diff --git a/main/inc/lib/fckeditor/editor/fckdialogframe.html b/main/inc/lib/fckeditor/editor/fckdialogframe.html old mode 100644 new mode 100755 index 548c845498..8f024edcc0 --- a/main/inc/lib/fckeditor/editor/fckdialogframe.html +++ b/main/inc/lib/fckeditor/editor/fckdialogframe.html @@ -122,7 +122,7 @@ document.write( '<link href="' + FCKConfig.SkinPath + 'fck_dialog.css" type="tex // Create the IFRAME that holds the dialog contents. - window.frames["frmMain"].document.location.href =Args().Page; + window.frames["frmMain"].document.location.href = Args().Page ; //$( 'innerContents' ).innerHTML = '<iframe id="frmMain" src="' + Args().Page + '" name="frmMain" frameborder="0" width="100%" height="100%" scrolling="auto" style="visibility: hidden;" allowtransparency="true"><\/iframe>' ; } ; @@ -146,13 +146,14 @@ document.write( '<link href="' + FCKConfig.SkinPath + 'fck_dialog.css" type="tex // ]]> </script> </head> - - <body onload="Init();" class="PopupBody"> + <body onload="javascript: Init();" class="PopupBody"> <table height="100%" cellspacing="0" cellpadding="0" width="100%" border="0"> <tr> <td id="TitleArea" class="PopupTitleSimple"> <script type="text/javascript"> - document.write( Args().Title ) ; +// <![CDATA[ +document.write( Args().Title ) ; +// ]]> </script> </td> </tr>