1
0
Fork 0
This commit is contained in:
Heiko 2017-12-16 17:23:12 +01:00 committed by Jan
parent 3b1453b864
commit 2cda6b8153
2 changed files with 8 additions and 2 deletions

View File

@ -1,6 +1,8 @@
devel devel
----- -----
* UI: improved the behavior during collection creation in a cluster environment
* UI: fixed broken foxx configuration keys. Some valid configuration values * UI: fixed broken foxx configuration keys. Some valid configuration values
could not be edited via the ui. could not be edited via the ui.

View File

@ -406,9 +406,11 @@
arangoHelper.arangoError('Error', data.errorMessage); arangoHelper.arangoError('Error', data.errorMessage);
} catch (ignore) {} } catch (ignore) {}
} else { } else {
if (window.location.hash === '#collections') {
this.updateCollectionsView(); this.updateCollectionsView();
} }
window.modalView.hide(); arangoHelper.arangoNotification('Collection', 'Collection "' + data.name + '" successfully created.');
}
}.bind(this); }.bind(this);
var tmpObj = { var tmpObj = {
@ -424,6 +426,8 @@
tmpObj.journalSize = collSize; tmpObj.journalSize = collSize;
} }
this.collection.newCollection(tmpObj, callback); this.collection.newCollection(tmpObj, callback);
window.modalView.hide();
arangoHelper.arangoNotification('Collection', 'Collection "' + collName + '" will be created.');
} }
}.bind(this); }.bind(this);