FIXED - task 601: Allow selection of root element on JSON import

http://code.google.com/p/google-refine/issues/detail?id=601

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2527 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Tom Morris 2012-08-09 14:17:35 +00:00
parent 4bf212c03d
commit 40dbe79a03

View File

@ -211,7 +211,8 @@ Refine.JsonParserUI.prototype._showPickRecordNodesUI = function() {
}
}
};
renderNode(this._config.dom, elmts.domContainer, [ANONYMOUS_NODE_NAME]);
rootNode = $('<div>').addClass('node').addClass('indented').appendTo(elmts.domContainer);
renderNode(this._config.dom, rootNode, [ANONYMOUS_NODE_NAME]);
};
Refine.JsonParserUI.prototype._scheduleUpdatePreview = function() {