Skip to content

Commit

Permalink
Small fixes before releasing v0.9 to master.
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheus65535 committed Jul 27, 2020
1 parent f7c1ebd commit 4ba8822
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion views/settingsgeneral.html
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ <h5 class="modal-title">Restart Bazarr</h5><br>
$('#save_button').prop('disabled', true).css('cursor', 'not-allowed');

// Hide update_div if args.no-update
{% if args.no_update %}
{% if args.no_update or args.release_update %}
$('#update_div').hide()
{% endif %}

Expand Down
6 changes: 5 additions & 1 deletion views/settingsradarr.html
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,11 @@ <h5 class="modal-title">Delete Path Mapping</h5><br>
buttons: [{
text: 'Add',
action: function () {
$('#addModal').modal('show');
if (form_changed) {
alert('You must save changes before adding a path mapping.')
} else {
$('#addModal').modal('show');
}
}
},
{
Expand Down
6 changes: 5 additions & 1 deletion views/settingssonarr.html
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,11 @@ <h5 class="modal-title">Delete Path Mapping</h5><br>
buttons: [{
text: 'Add',
action: function () {
$('#addModal').modal('show');
if (form_changed) {
alert('You must save changes before adding a path mapping.')
} else {
$('#addModal').modal('show');
}
}
},
{
Expand Down

0 comments on commit 4ba8822

Please sign in to comment.