Corrected AJAX path

SVN revision: 1924
This commit is contained in:
2007-09-20 06:05:19 +00:00
parent 886882dd84
commit 753f68ffce
@@ -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);
}