diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2013-11-21 12:27:58 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2013-11-21 17:46:09 +0100 |
commit | 029b35c3ec0d175ac59ad88155f852ba6a30cfdf (patch) | |
tree | ef93ad6f8c0ea4b9182ef14351d61e7bf4f9d543 /framework/Web/Javascripts/source/prado | |
parent | 9342b70444cec0db1d281fd2a03fe5d06f1ef646 (diff) |
Fixed Prado's stopObserving
Diffstat (limited to 'framework/Web/Javascripts/source/prado')
-rw-r--r-- | framework/Web/Javascripts/source/prado/controls/controls.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/source/prado/controls/controls.js b/framework/Web/Javascripts/source/prado/controls/controls.js index b4d5653e..d576c3eb 100644 --- a/framework/Web/Javascripts/source/prado/controls/controls.js +++ b/framework/Web/Javascripts/source/prado/controls/controls.js @@ -121,7 +121,7 @@ Prado.WebUI.Control = jQuery.klass({ { var idx = this.findObserver(element,eventName,handler); if (idx!=-1) - this.observers = this.observers.without(this.observers[idx]); + this.observers.splice(idx, 1); else debugger; // shouldn't happen |