applying changes to xml parser too

This commit is contained in:
Pablo Moyano 2014-02-12 01:11:31 -08:00
parent aae3d5e884
commit 0c475890ed

View File

@ -66,6 +66,9 @@ Refine.XmlParserUI.prototype.confirmReadyToCreateProject = function() {
}; };
Refine.XmlParserUI.prototype.getOptions = function() { Refine.XmlParserUI.prototype.getOptions = function() {
if(!this._config.recordPath){
this._setRecordPath(this._config.defaultRecordPath);
}
var options = { var options = {
recordPath: this._config.recordPath recordPath: this._config.recordPath
}; };
@ -229,6 +232,7 @@ Refine.XmlParserUI.prototype._showPickRecordElementsUI = function() {
} }
}; };
if (this._config.dom) { if (this._config.dom) {
this._config.defaultRecordPath=[];
renderNode(this._config.dom, elmts.domContainer, []); renderNode(this._config.dom, elmts.domContainer, []);
} }
}; };