diff --git a/src/UI/Settings/NetImport/Edit/NetImportEditView.js b/src/UI/Settings/NetImport/Edit/NetImportEditView.js index 6e010a88e..ddf83530b 100644 --- a/src/UI/Settings/NetImport/Edit/NetImportEditView.js +++ b/src/UI/Settings/NetImport/Edit/NetImportEditView.js @@ -42,9 +42,14 @@ var view = Marionette.ItemView.extend({ }, onRender : function() { - var defaultRoot = Config.getValue(Config.Keys.DefaultRootFolderId); - if (RootFolders.get(defaultRoot)) { - this.ui.rootFolder.val(defaultRoot); + var rootFolder = this.model.get("rootFolderPath") + if (rootFolder != "") { + this.ui.rootFolder.val(rootFolder) + } else { + var defaultRoot = Config.getValue(Config.Keys.DefaultRootFolderId); + if (RootFolders.get(defaultRoot)) { + this.ui.rootFolder.val(defaultRoot); + } } }, diff --git a/src/UI/Settings/NetImport/Edit/NetImportEditViewTemplate.hbs b/src/UI/Settings/NetImport/Edit/NetImportEditViewTemplate.hbs index e28717312..6bb241873 100644 --- a/src/UI/Settings/NetImport/Edit/NetImportEditViewTemplate.hbs +++ b/src/UI/Settings/NetImport/Edit/NetImportEditViewTemplate.hbs @@ -89,7 +89,7 @@