From 753f68ffce83bfec440c5b44f302fe2f7b84d779 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Thu, 20 Sep 2007 06:05:19 +0000 Subject: [PATCH] Corrected AJAX path SVN revision: 1924 --- scripts/fckeditor/editor/plugins/elog/fckplugin.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/scripts/fckeditor/editor/plugins/elog/fckplugin.js b/scripts/fckeditor/editor/plugins/elog/fckplugin.js index 1ed60579..b8e5dbcc 100644 --- a/scripts/fckeditor/editor/plugins/elog/fckplugin.js +++ b/scripts/fckeditor/editor/plugins/elog/fckplugin.js @@ -81,17 +81,16 @@ oInsertTimeCommand.Execute = function() xmlHttp.onreadystatechange = function() { - if(xmlHttp.readyState == 4) - { - // Get the editor instance that we want to interact with. - var oEditor = FCKeditorAPI.GetInstance('Text') ; + if(xmlHttp.readyState == 4) { + // Get the editor instance that we want to interact with. + var oEditor = FCKeditorAPI.GetInstance('Text') ; // Insert the desired HTML. - oEditor.InsertHtml(xmlHttp.responseText); + oEditor.InsertHtml(xmlHttp.responseText); } } - xmlHttp.open("GET","../../../?cmd=gettimedate",true); + xmlHttp.open("GET","../../?cmd=gettimedate",true); xmlHttp.send(null); }