mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Corrected AJAX path
SVN revision: 1924
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user