mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
remove web path modify option
This commit is contained in:
parent
ca9e5d83bf
commit
ae7b8d59f2
@ -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();
|
||||
|
@ -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">
|
||||
|
@ -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:",
|
||||
|
Loading…
Reference in New Issue
Block a user