mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
moved the directory picker to a separate file
This commit is contained in:
parent
a6ae6b7c2d
commit
95a8a246b9
4 changed files with 181 additions and 151 deletions
|
@ -28,14 +28,16 @@
|
|||
|
||||
$('#btnSelectIBNPath', page).on("click.selectDirectory", function () {
|
||||
|
||||
Dashboard.selectDirectory({
|
||||
var picker = new DirectoryBrowser(page);
|
||||
|
||||
picker.show({
|
||||
|
||||
callback: function (path) {
|
||||
|
||||
if (path) {
|
||||
$('#txtItemsByNamePath', page).val(path);
|
||||
}
|
||||
$('#popupDirectoryPicker', page).popup("close");
|
||||
picker.close();
|
||||
},
|
||||
|
||||
header: "Select Items By Name Path",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue