1
0
Fork 0

collection edit view rename bugfix [ci skip]

This commit is contained in:
hkernbach 2016-06-03 12:28:34 +02:00
parent 5f9cd03600
commit 6df0043b9b
1 changed files with 5 additions and 5 deletions

View File

@ -140,8 +140,8 @@
arangoHelper.arangoError("Collection error: " + error.responseText); arangoHelper.arangoError("Collection error: " + error.responseText);
} }
else { else {
this.collectionsView.render(); arangoHelper.arangoNotification("Collection: " + "Successfully changed.");
window.modalView.hide(); window.App.navigate("#cSettings/" + newname, {trigger: true});
} }
}.bind(this); }.bind(this);
@ -162,11 +162,11 @@
var callbackRename2 = function(error, data) { var callbackRename2 = function(error, data) {
if (error) { if (error) {
arangoHelper.arangoError("Collection error: " + data.responseText); arangoHelper.arangoError("Collection" + data.responseText);
} }
else { else {
this.collectionsView.render(); arangoHelper.arangoNotification("Collection" + "Successfully changed.");
window.modalView.hide(); window.App.navigate("#cSettings/" + newname, {trigger: true});
} }
}.bind(this); }.bind(this);