Removes prompt modal after clicking the action button on the copy prompt

This commit is contained in:
Jared Tabor 2018-05-10 11:06:56 -07:00
parent 4b5c09c07c
commit 4caa145161
No known key found for this signature in database
GPG Key ID: 1B343EC4C3CF7E5C

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