Corrected AJAX path

SVN revision: 1924
This commit is contained in:
Stefan Ritt 2007-09-20 06:05:19 +00:00
parent 886882dd84
commit 753f68ffce

View File

@ -81,17 +81,16 @@ oInsertTimeCommand.Execute = function()
xmlHttp.onreadystatechange = function() xmlHttp.onreadystatechange = function()
{ {
if(xmlHttp.readyState == 4) if(xmlHttp.readyState == 4) {
{ // Get the editor instance that we want to interact with.
// Get the editor instance that we want to interact with. var oEditor = FCKeditorAPI.GetInstance('Text') ;
var oEditor = FCKeditorAPI.GetInstance('Text') ;
// Insert the desired HTML. // 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); xmlHttp.send(null);
} }