Merge pull request #486 from jlmitch5/fixModalOnModalBS

fix workflow maker lookup issues
This commit is contained in:
jlmitch5 2017-09-29 19:55:20 -04:00 committed by GitHub
commit 06210624ce

View File

@ -312,9 +312,13 @@ var awApp = angular.module('awApp', [
$(this).remove();
});
$('.ui-dialog-content').each(function() {
$(this).dialog('close');
});
if (next.name !== "templates.editWorkflowJobTemplate.workflowMaker" &&
next.name !== "templates.editWorkflowJobTemplate.workflowMaker.inventory" &&
next.name !== "templates.editWorkflowJobTemplate.workflowMaker.credential") {
$('.ui-dialog-content').each(function() {
$(this).dialog('close');
});
}
try {
$('#help-modal').dialog('close');