X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/b37ceabb82336ee82757cd32efe353cfab8ec267..0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6:/docs/source/Observable.html diff --git a/docs/source/Observable.html b/docs/source/Observable.html index 327b3876..8cf2a532 100644 --- a/docs/source/Observable.html +++ b/docs/source/Observable.html @@ -7,10 +7,10 @@
/*! - * Ext JS Library 3.2.2 - * Copyright(c) 2006-2010 Ext JS, Inc. - * licensing@extjs.com - * http://www.extjs.com/license + * Ext JS Library 3.3.1 + * Copyright(c) 2006-2010 Sencha Inc. + * licensing@sencha.com + * http://www.sencha.com/license */ (function(){ @@ -395,12 +395,16 @@ function createSingle(h, e, fn, scope){ function createDelayed(h, o, l, scope){ return function(){ - var task = new EXTUTIL.DelayedTask(); + var task = new EXTUTIL.DelayedTask(), + args = Array.prototype.slice.call(arguments, 0); if(!l.tasks) { l.tasks = []; } l.tasks.push(task); - task.delay(o.delay || 10, h, scope, Array.prototype.slice.call(arguments, 0)); + task.delay(o.delay || 10, function(){ + l.tasks.remove(task); + h.apply(scope, args); + }, scope); }; };