From fef450f6dd19243f7d6cffb80ba706a67d39e284 Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Thu, 24 May 2012 00:23:21 -0700 Subject: Fixing reference of document --- js/lib/NJUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/lib') diff --git a/js/lib/NJUtils.js b/js/lib/NJUtils.js index 90aebb84..7dd4c9e8 100755 --- a/js/lib/NJUtils.js +++ b/js/lib/NJUtils.js @@ -64,7 +64,7 @@ exports.NJUtils = Montage.create(Component, { value: function(tag, attr, doc) { var _doc, el; - _doc = doc ? doc._document : document; + _doc = doc ? doc.model.views.design.document : document; el = _doc.createElement(tag); this.decor(el, attr); -- cgit v1.2.3