diff --git a/source/Ox.UI/js/Core/Element.js b/source/Ox.UI/js/Core/Element.js index 406c184e..cfaf06bd 100644 --- a/source/Ox.UI/js/Core/Element.js +++ b/source/Ox.UI/js/Core/Element.js @@ -118,6 +118,9 @@ }); that[0] = that.$element[0]; that.length = 1; + that.self = function() { + return arguments[0] === _ ? self : {}; + }; Ox.elements[that.oxid] = that; if (self.options.element == '