diff --git a/data/interfaces/default/settings.html b/data/interfaces/default/settings.html index aedafdf1..6089935b 100644 --- a/data/interfaces/default/settings.html +++ b/data/interfaces/default/settings.html @@ -568,8 +568,13 @@
The location of the SSL certificate.
@@ -577,8 +582,13 @@The location of the SSL certificate chain.
@@ -586,8 +596,13 @@The location of the SSL key.
@@ -800,10 +815,15 @@Optional: Enter the full path to your custom newsletter templates folder. Leave blank for default.
@@ -1113,8 +1138,13 @@Enter the full path to where newsletter files will be saved.
@@ -1365,8 +1395,13 @@Failed to retrieve news.
') } }); + + $("#log_dir_browse, #backup_dir_browse, #cache_dir_browse, " + + "#newsletter_custom_dir_browse, #newsletter_dir_browse, #pms_logs_folder_browse, " + + "#https_cert_browse, #https_cert_chain_browse, #https_key_browse").click(function () { + var filter = $(this).data('filter'); + var target = $(this).data('target'); + openBrowsePath(null, null, filter, $("label[for='" + target.replace('#', '') + "']").text(), target); + }); }); %def> diff --git a/plexpy/helpers.py b/plexpy/helpers.py index 7c6f946d..b6d7ba1a 100644 --- a/plexpy/helpers.py +++ b/plexpy/helpers.py @@ -1269,6 +1269,10 @@ def browse_path(path=None, include_hidden=False, filter_ext=''): 'icon': 'folder' } output.append(out) + + if filter_ext == '.folderonly': + break + for f in sorted(files): if not include_hidden and f.startswith('.'): continue