From b739f171f2bd9fe36627b27f85cf0ddcc2b836fb Mon Sep 17 00:00:00 2001 From: Rolux Date: Thu, 11 Feb 2010 01:29:10 +0530 Subject: [PATCH] commenting out jquery magic, pt. 4 --- build/js/ox.ui.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/js/ox.ui.js b/build/js/ox.ui.js index 237d88f..3ffba0f 100644 --- a/build/js/ox.ui.js +++ b/build/js/ox.ui.js @@ -781,7 +781,9 @@ requires // if an ox object was passed // then pass its $element instead // so we can do oxObj.jqFn(oxObj) - args[i] = arg.$element; + if (arg.ox) { + args[i] = arg.$element; + } /* if (arg.ox) { // fixme: or is this too much magic? if (fn == "appendTo" && arg.$content) {