diff --git a/CHANGELOG b/CHANGELOG index e14b8d2299..8404402fe4 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,8 @@ devel ----- +* UI: improved the behavior during collection creation in a cluster environment + * UI: fixed broken foxx configuration keys. Some valid configuration values could not be edited via the ui. diff --git a/js/apps/system/_admin/aardvark/APP/frontend/js/views/collectionsView.js b/js/apps/system/_admin/aardvark/APP/frontend/js/views/collectionsView.js index e0f509ccc0..3386c05391 100644 --- a/js/apps/system/_admin/aardvark/APP/frontend/js/views/collectionsView.js +++ b/js/apps/system/_admin/aardvark/APP/frontend/js/views/collectionsView.js @@ -406,9 +406,11 @@ arangoHelper.arangoError('Error', data.errorMessage); } catch (ignore) {} } else { - this.updateCollectionsView(); + if (window.location.hash === '#collections') { + this.updateCollectionsView(); + } + arangoHelper.arangoNotification('Collection', 'Collection "' + data.name + '" successfully created.'); } - window.modalView.hide(); }.bind(this); var tmpObj = { @@ -424,6 +426,8 @@ tmpObj.journalSize = collSize; } this.collection.newCollection(tmpObj, callback); + window.modalView.hide(); + arangoHelper.arangoNotification('Collection', 'Collection "' + collName + '" will be created.'); } }.bind(this);