mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02: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:
@@ -78,7 +78,7 @@ angular.module('Utilities', ['RestServices', 'Utilities'])
|
|||||||
$('#alert2-modal-msg').html(msg);
|
$('#alert2-modal-msg').html(msg);
|
||||||
|
|
||||||
alertClass = (cls) ? cls : 'alert-danger'; //default alert class is alert-danger
|
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 });
|
$('#alert2-modal-msg').attr({ "class": "alert " + alertClass });
|
||||||
$('#alert-modal2').modal({
|
$('#alert-modal2').modal({
|
||||||
@@ -107,7 +107,7 @@ angular.module('Utilities', ['RestServices', 'Utilities'])
|
|||||||
$('#alertHeader').html(hdr);
|
$('#alertHeader').html(hdr);
|
||||||
$('#alert-modal-msg').html(msg);
|
$('#alert-modal-msg').html(msg);
|
||||||
alertClass = (cls) ? cls : 'alert-danger'; //default alert class is alert-danger
|
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-msg').attr({ "class": "alert " + alertClass });
|
||||||
$('#alert-modal').modal({
|
$('#alert-modal').modal({
|
||||||
|
|||||||
Reference in New Issue
Block a user