mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-09 08:17:42 +08:00
One small change to use field value even if you haven't save settings.
This commit is contained in:
parent
a80d425398
commit
71421de09e
1 changed files with 2 additions and 2 deletions
|
@ -1348,7 +1348,7 @@
|
|||
<div class='field'>
|
||||
<div id="settings_notifier_{{notifier[0]}}_url_div" class="ui fluid input">
|
||||
<input name="settings_notifier_{{notifier[0]}}_url" type="text" value="{{notifier[1] if notifier[1] != None else ''}}">
|
||||
<div class="test_notification ui blue button" data-notification="{{notifier[1]}}">Test Notification</div>
|
||||
<div class="test_notification ui blue button" data-notification="{{notifier[1]}}">Test Notification</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1367,7 +1367,7 @@
|
|||
<script>
|
||||
$('.test_notification').on('click', function() {
|
||||
$.ajax({
|
||||
url: "{{base_url}}test_notification/" + encodeURIComponent($(this).data("notification")),
|
||||
url: "{{base_url}}test_notification/" + encodeURIComponent($(this).prev().val()),
|
||||
beforeSend: function () {
|
||||
$('#loader').addClass('active');
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue