From c9b49d7de3542ad031b4fe52de93fbaa12c158fd Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Sat, 23 Nov 2013 14:52:22 +0100 Subject: Fixed dynamic creation of js events --- framework/Web/Javascripts/source/prado/prado.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web/Javascripts/source') diff --git a/framework/Web/Javascripts/source/prado/prado.js b/framework/Web/Javascripts/source/prado/prado.js index 13e8be92..ff147580 100644 --- a/framework/Web/Javascripts/source/prado/prado.js +++ b/framework/Web/Javascripts/source/prado/prado.js @@ -388,7 +388,7 @@ Prado.Element = try { eval("(func = function(event){"+value+"})"); - el[attribute] = func; + el.get(0)[attribute] = func; } catch(e) { -- cgit v1.2.3