From 7797afa1d82cc32125e9a0d20e7b8654f2734dd2 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Thu, 21 Nov 2013 12:27:58 +0100 Subject: Fixed Prado's stopObserving --- framework/Web/Javascripts/source/prado/controls/controls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3