From 60c279ed1c14448f71cc802f6a817c058745dcc1 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 25 Jun 2012 20:40:06 +0200 Subject: [PATCH] add element id to event properties --- source/Ox.UI/js/Core/Element.js | 1 + 1 file changed, 1 insertion(+) diff --git a/source/Ox.UI/js/Core/Element.js b/source/Ox.UI/js/Core/Element.js index d158fd6d..7aef5dca 100644 --- a/source/Ox.UI/js/Core/Element.js +++ b/source/Ox.UI/js/Core/Element.js @@ -113,6 +113,7 @@ Ox.Element = function(options, self) { } function call(callback, data, event) { + event.ox_id = that.oxid; event.ox_type = event.type.replace(/^ox_/, ''); callback.call(that, data || {}, event); }