Commit 16c4792a authored by Samir Sadyhov's avatar Samir Sadyhov 🤔

канбан-доска - сохранение перед активацией при переносе в финишный статус

parent 2474b848
......@@ -371,9 +371,16 @@ const KanbanBoard = {
showMessage(i18n.tr('Заполните обязательные поля'), 'error');
} else {
Cons.showLoader();
const activateResult = await appAPI.activateDoc(dataUUID);
Cons.hideLoader();
UIkit.modal(dialog).hide();
player.saveFormData(async asfDataId => {
await appAPI.activateDoc(asfDataId);
Cons.hideLoader();
UIkit.modal(dialog).hide();
}, (status, responseText) => {
console.log('ERROR [saveFormData]', {status, responseText});
throw new Error(responseText);
});
}
}
);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment