Merge pull request #1751 from jaredevantabor/1662-copy-prompt

Removes prompt modal after clicking the action button on the copy prompt
This commit is contained in:
Jared Tabor
2018-05-10 13:30:10 -07:00
committed by GitHub

View File

@@ -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 }) => {