1
0
Fork 0
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:
Luke Pulverenti 2013-07-06 13:20:53 -04:00
parent a6ae6b7c2d
commit 95a8a246b9
4 changed files with 181 additions and 151 deletions

View file

@ -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",