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