Brought scheduler back completly, fixes #1502

This commit is contained in:
Peter 'Pita' Martischka 2013-02-11 20:51:40 +00:00
parent e87843c5ae
commit 0953a5ac33
2 changed files with 2 additions and 2 deletions

View File

@ -1086,7 +1086,7 @@ function Ace2Inner(){
{
if (scheduledTimeout)
{
clearTimeout(scheduledTimeout);
scheduler.clearTimeout(scheduledTimeout);
scheduledTimeout = null;
}
}

View File

@ -51,7 +51,7 @@ function makeChangesetTracker(scheduler, apool, aceCallbacksProvider)
// and if there isn't a timeout already scheduled.
if (changeCallback && changeCallbackTimeout === null)
{
changeCallbackTimeout = setTimeout(function()
changeCallbackTimeout = scheduler.setTimeout(function()
{
try
{