From 029b35c3ec0d175ac59ad88155f852ba6a30cfdf 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(-) (limited to 'framework/Web/Javascripts') 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