From c5b148773f598bd2d2b9c1755dcce0943a3a6e61 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 21 May 2012 22:07:06 +0200 Subject: [PATCH] don't Ox.extend with undefined, use empty object --- source/Ox.UI/js/Core/Ox.Element.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Core/Ox.Element.js b/source/Ox.UI/js/Core/Ox.Element.js index a8e10dae..649e96e7 100644 --- a/source/Ox.UI/js/Core/Ox.Element.js +++ b/source/Ox.UI/js/Core/Ox.Element.js @@ -110,7 +110,7 @@ Ox.Element = function(options, self) { callback.call(that, Ox.extend({ _element: that.$element, _event: event - }, data)); + }, data || {})); }); }