Small fixes before releasing v0.9 to master.

This commit is contained in:
Louis Vézina 2020-07-27 11:14:31 -04:00
parent f7c1ebdd8c
commit 4ba8822817
3 changed files with 11 additions and 3 deletions

View File

@ -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 %}

View File

@ -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');
}
}
},
{

View File

@ -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');
}
}
},
{