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, []); } };