diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/DataSetForm/DataSetFormController.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/DataSetForm/DataSetFormController.js index 21adbf0f906e2bd8d42bf21075227f413d06e562..9252de9b849f39b2d12885b30b9a469cdf424542 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/DataSetForm/DataSetFormController.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/DataSetForm/DataSetFormController.js @@ -186,19 +186,20 @@ function DataSetFormController(parentController, mode, entity, dataSet, isMini) } } - - if(_this._dataSetFormModel.mode === FormMode.CREATE) { - Util.showSuccess("DataSet Created.", callbackOk); - if(!isInventory) { - mainController.sideMenu.refreshCurrentNode(); - } - - } else if(_this._dataSetFormModel.mode === FormMode.EDIT) { - Util.showSuccess("DataSet Updated.", callbackOk); - if(!isInventory) { - mainController.sideMenu.refreshNodeParent(_this._dataSetFormModel.dataSet.code); + setTimeout(function() { + if(_this._dataSetFormModel.mode === FormMode.CREATE) { + Util.showSuccess("DataSet Created.", callbackOk); + if(!isInventory) { + mainController.sideMenu.refreshCurrentNode(); + } + + } else if(_this._dataSetFormModel.mode === FormMode.EDIT) { + Util.showSuccess("DataSet Updated.", callbackOk); + if(!isInventory) { + mainController.sideMenu.refreshNodeParent(_this._dataSetFormModel.dataSet.code); + } } - } + }, 3000); } else { //This should never happen Util.showError("Unknown Error.", function() {Util.unblockUI();});