mirror of https://gitee.com/bigwinds/arangodb
collection edit view rename bugfix [ci skip]
This commit is contained in:
parent
5f9cd03600
commit
6df0043b9b
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue