mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-22 22:10:42 +00:00
Small fixes before releasing v0.9 to master.
This commit is contained in:
parent
f7c1ebdd8c
commit
4ba8822817
3 changed files with 11 additions and 3 deletions
|
@ -324,7 +324,7 @@
|
|||
$('#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 %}
|
||||
|
||||
|
|
|
@ -371,7 +371,11 @@
|
|||
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');
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
@ -394,7 +394,11 @@
|
|||
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');
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue