From 13be1d9a10e662e4894998af8d8a5700ec446876 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 237d88f5..3ffba0fb 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) {