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:
softwarefactory-project-zuul[bot] 2019-03-07 14:23:34 +00:00 committed by GitHub
commit 4fc0d220cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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({