From 0c475890ed641301ba066011fb2816dd4d33f6b6 Mon Sep 17 00:00:00 2001 From: Pablo Moyano Date: Wed, 12 Feb 2014 01:11:31 -0800 Subject: [PATCH] applying changes to xml parser too --- .../core/scripts/index/parser-interfaces/xml-parser-ui.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main/webapp/modules/core/scripts/index/parser-interfaces/xml-parser-ui.js b/main/webapp/modules/core/scripts/index/parser-interfaces/xml-parser-ui.js index ebe6696fb..6fce35b24 100644 --- a/main/webapp/modules/core/scripts/index/parser-interfaces/xml-parser-ui.js +++ b/main/webapp/modules/core/scripts/index/parser-interfaces/xml-parser-ui.js @@ -66,6 +66,9 @@ Refine.XmlParserUI.prototype.confirmReadyToCreateProject = function() { }; Refine.XmlParserUI.prototype.getOptions = function() { + if(!this._config.recordPath){ + this._setRecordPath(this._config.defaultRecordPath); + } var options = { recordPath: this._config.recordPath }; @@ -229,6 +232,7 @@ Refine.XmlParserUI.prototype._showPickRecordElementsUI = function() { } }; if (this._config.dom) { + this._config.defaultRecordPath=[]; renderNode(this._config.dom, elmts.domContainer, []); } };