From 4caa1451616f2017515a658649b66d46d7c918d1 Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Thu, 10 May 2018 11:06:56 -0700 Subject: [PATCH] Removes prompt modal after clicking the action button on the copy prompt --- awx/ui/client/features/templates/templatesList.controller.js | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/ui/client/features/templates/templatesList.controller.js b/awx/ui/client/features/templates/templatesList.controller.js index 6ab8712e40..569bdc4b3a 100644 --- a/awx/ui/client/features/templates/templatesList.controller.js +++ b/awx/ui/client/features/templates/templatesList.controller.js @@ -211,6 +211,7 @@ function ListTemplatesController( .then(model => model.extend('get', 'copy')) .then(model => { const action = () => { + $('#prompt-modal').modal('hide'); Wait('start'); model.copy() .then(({ id }) => {