Merge branch 'develop' into main

feature/docker-ci
iglocska 2021-06-29 08:50:57 +02:00
commit 998a986f74
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ class UIFactory {
* @return {Promise<Object>} Promise object resolving to the ModalFactory object * @return {Promise<Object>} Promise object resolving to the ModalFactory object
*/ */
submissionReloaderModal(url, reloadUrl, $reloadedElement, $statusNode=null) { submissionReloaderModal(url, reloadUrl, $reloadedElement, $statusNode=null) {
const successCallback = function (data) { const successCallback = function ([data, modalObject]) {
UI.reload(reloadUrl, $reloadedElement, $statusNode) UI.reload(reloadUrl, $reloadedElement, $statusNode)
if (data.additionalData !== undefined && data.additionalData.displayOnSuccess !== undefined) { if (data.additionalData !== undefined && data.additionalData.displayOnSuccess !== undefined) {
UI.modal({ UI.modal({