mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 21:33:18 -07:00
Browse path starting from from current value
This commit is contained in:
parent
b52ab4885b
commit
a675202537
5 changed files with 23 additions and 32 deletions
|
@ -53,7 +53,7 @@
|
|||
<div class="input-group">
|
||||
<input type="${item['input_type']}" class="form-control" id="${item['name']}" name="${item['name']}" value="${item['value']}" size="30" ${'readonly' if item.get('readonly') else ''}>
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-form" type="button" id="${item['name']}_browse" data-filter=".folderonly" data-target="#${item['name']}">Browse</button>
|
||||
<button class="btn btn-form" type="button" id="${item['name']}_browse" data-toggle="browse" data-filter=".folderonly" data-target="#${item['name']}">Browse</button>
|
||||
</span>
|
||||
</div>
|
||||
% else:
|
||||
|
@ -702,13 +702,6 @@
|
|||
var plexmobileapp_user_ids = $plexmobileapp_user_ids[0].selectize;
|
||||
plexmobileapp_user_ids.setValue(${json.dumps(next((c['value'] for c in notifier['config_options'] if c['name'] == 'plexmobileapp_user_ids'), [])) | n});
|
||||
|
||||
% elif notifier['agent_name'] == 'scripts':
|
||||
$("#scripts_script_folder_browse").click(function () {
|
||||
var filter = $(this).data('filter');
|
||||
var target = $(this).data('target');
|
||||
openBrowsePath(null, null, filter, $("label[for='" + target.replace('#', '') + "']").text(), target);
|
||||
});
|
||||
|
||||
% endif
|
||||
|
||||
function validateLogic() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue