1
0
Fork 0

now modal is hiding when creating a new edge

This commit is contained in:
Heiko Kernbach 2013-02-27 16:14:06 +01:00
parent 99ffecbd79
commit eced0abdbb
1 changed files with 2 additions and 0 deletions

View File

@ -79,10 +79,12 @@ var documentsView = Backbone.View.extend({
var result = window.arangoDocumentStore.createTypeEdge(collid, from, to);
if (result !== false) {
$('#edgeCreateModal').modal('hide');
window.location.hash = "collection/"+result;
}
//Error
else {
$('#edgeCreateModal').modal('hide');
alert("something wrong");
}
},