Brought scheduler back completly, fixes #1502
This commit is contained in:
parent
e87843c5ae
commit
0953a5ac33
|
@ -1086,7 +1086,7 @@ function Ace2Inner(){
|
|||
{
|
||||
if (scheduledTimeout)
|
||||
{
|
||||
clearTimeout(scheduledTimeout);
|
||||
scheduler.clearTimeout(scheduledTimeout);
|
||||
scheduledTimeout = null;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue