remove web path modify option

This commit is contained in:
dkanada 2019-03-18 22:58:48 -07:00
parent ca9e5d83bf
commit ae7b8d59f2
3 changed files with 1 additions and 29 deletions

View File

@ -97,7 +97,7 @@ define(["jQuery", "loading", "fnchecked", "emby-checkbox", "emby-textarea", "emb
$("#txtMetadataPath", view).val(path);
}
if (networkPath) {
$("#txtMetadataNetworkPath", view).val(networkPath));
$("#txtMetadataNetworkPath", view).val(networkPath);
}
picker.close();
},
@ -109,22 +109,6 @@ define(["jQuery", "loading", "fnchecked", "emby-checkbox", "emby-textarea", "emb
})
});
$("#btnSelectWebPath", view).on("click.selectDirectory", function() {
require(["directorybrowser"], function(directoryBrowser) {
var picker = new directoryBrowser;
picker.show({
callback: function(path) {
if (path) {
view.querySelector("#txtWebPath").value = path;
}
picker.close();
},
header: Globalize.translate("LabelWebPath"),
instruction: Globalize.translate("LabelWebPathHelp")
})
})
});
$(".dashboardGeneralForm", view).off("submit", onSubmit).on("submit", onSubmit);
view.addEventListener("viewshow", function() {
var promiseConfig = ApiClient.getServerConfiguration();

View File

@ -55,16 +55,6 @@
<div class="fieldDescription">${LabelMetadataPathHelp}</div>
<input type="hidden" id="txtMetadataNetworkPath" />
</div>
<div class="inputContainer">
<div style="display: flex; align-items: center;">
<div style="flex-grow:1;">
<input is="emby-input" id="txtWebPath" label="${LabelWebPath}" autocomplete="off" />
</div>
<button type="button" is="paper-icon-button-light" id="btnSelectWebPath" title="${ButtonSelectDirectory}" class="emby-input-iconbutton"><i class="md-icon">search</i></button>
</div>
<div class="fieldDescription">${LabelWebPathHelp}</div>
</div>
</div>
<div class="verticalSection autoUpdatesContainer hide">

View File

@ -1122,8 +1122,6 @@
"LabelMetadataDownloadersHelp": "Enable and rank your preferred metadata downloaders in order of priority. Lower priority downloaders will only be used to fill in missing information.",
"LabelMetadataPath": "Metadata path:",
"LabelMetadataPathHelp": "Specify a custom location for downloaded artwork and metadata.",
"LabelWebPath": "Web path:",
"LabelWebPathHelp": "The path where the web client source is located. Do not change this unless you plan on moving the web files, or the web interface will break.",
"LabelMetadataReaders": "Metadata readers:",
"LabelMetadataReadersHelp": "Rank your preferred local metadata sources in order of priority. The first file found will be read.",
"LabelMetadataSavers": "Metadata savers:",