diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2013-11-21 12:27:58 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2013-11-26 11:42:50 +0100 |
commit | 7797afa1d82cc32125e9a0d20e7b8654f2734dd2 (patch) | |
tree | de6e2d2d307e5dda5482ee4ba888bf8b6141e20a /framework/Web | |
parent | 926287d5bac1e1c9f58143611ad725e8324cfdac (diff) |
Fixed Prado's stopObserving
Diffstat (limited to 'framework/Web')
-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 |