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);
|
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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue