From 94a32476c073673bd941fb2878d1e7e3a390e126 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Sat, 20 Sep 2014 12:29:27 +0200 Subject: [PATCH] fix binding --- source/Ox.UI/js/Core/Request.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Ox.UI/js/Core/Request.js b/source/Ox.UI/js/Core/Request.js index f3ec3547..12e2401a 100644 --- a/source/Ox.UI/js/Core/Request.js +++ b/source/Ox.UI/js/Core/Request.js @@ -33,7 +33,7 @@ Ox.Request = (function() { if (!$element) { $element = Ox.Element(); } - $element.bindEvent.apply(this, arguments); + $element.bindEvent.apply($element, arguments); }, /*@ @@ -216,7 +216,7 @@ Ox.Request = (function() { unbindEvent Unbind event @*/ unbindEvent: function() { - $element && $element.unbindEvent.apply(this, arguments); + $element && $element.unbindEvent.apply($element, arguments); } };