mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Merge pull request #3376 from keithjgrant/fix-save-confirmation-modal
fix save success modal when adding new application Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
commit
4fc0d220cc
@ -78,7 +78,7 @@ angular.module('Utilities', ['RestServices', 'Utilities'])
|
||||
$('#alert2-modal-msg').html(msg);
|
||||
|
||||
alertClass = (cls) ? cls : 'alert-danger'; //default alert class is alert-danger
|
||||
local_backdrop = (backdrop === undefined) ? "static" : backdrop;
|
||||
local_backdrop = (backdrop === undefined || backdrop === null) ? "static" : backdrop;
|
||||
|
||||
$('#alert2-modal-msg').attr({ "class": "alert " + alertClass });
|
||||
$('#alert-modal2').modal({
|
||||
@ -107,7 +107,7 @@ angular.module('Utilities', ['RestServices', 'Utilities'])
|
||||
$('#alertHeader').html(hdr);
|
||||
$('#alert-modal-msg').html(msg);
|
||||
alertClass = (cls) ? cls : 'alert-danger'; //default alert class is alert-danger
|
||||
local_backdrop = (backdrop === undefined) ? "static" : backdrop;
|
||||
local_backdrop = (backdrop === undefined || backdrop === null) ? "static" : backdrop;
|
||||
|
||||
$('#alert-modal-msg').attr({ "class": "alert " + alertClass });
|
||||
$('#alert-modal').modal({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user