Commit 276f06e1 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

Нативная версия. работа с таймерами. статистика документа

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61079 954022d7-b5bf-4e40-9824-e11837661b57
parent 8e362235
......@@ -442,11 +442,14 @@ window.native.Call_TimeoutFire = function(_id)
return;
var _prop = "" + _id;
if (!window.NativeTimeoutObject[_prop])
var _func = window.NativeTimeoutObject[_prop];
window.NativeTimeoutObject[_prop] = undefined;
if (!_func)
return;
window.NativeTimeoutObject[_prop].apply(null);
window.NativeTimeoutObject[_prop] = undefined;
_func.call(null);
_func = null;
};
function clearInterval(_id)
......@@ -464,7 +467,7 @@ function setInterval(func, interval)
var _intervalFunc = function()
{
func.apply(null);
func.call(null);
setTimeout(func, interval);
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment