diff --git a/js/apps/system/aardvark/frontend/js/views/graphManagementView.js b/js/apps/system/aardvark/frontend/js/views/graphManagementView.js index 08a36f4343..e03ce6a245 100644 --- a/js/apps/system/aardvark/frontend/js/views/graphManagementView.js +++ b/js/apps/system/aardvark/frontend/js/views/graphManagementView.js @@ -14,7 +14,6 @@ events: { "click #deleteGraph" : "deleteGraph", "click .icon_arangodb_settings2" : "editGraph", - "click .icon_arangodb_info" : "info", "click #createGraph" : "addNewGraph", "keyup #graphManagementSearchInput" : "search", "click #graphManagementSearchSubmit" : "search", @@ -50,7 +49,7 @@ deleteGraph: function(e) { var self = this; - var name = $('#editGraphName').html(); + var name = $("#editGraphName")[0].value; this.collection.get(name).destroy({ success: function() { self.updateGraphManagementView(); @@ -139,18 +138,6 @@ ); }, - info : function(e) { - e.stopPropagation(); - this.collection.fetch(); - var graph = this.collection.findWhere( - {_key: this.evaluateGraphName($(e.currentTarget).attr("id"), '_info')} - ); - this.createInfoGraphModal( - graph.get('_key'), - graph.get('vertices'), - graph.get('edges') - ); - }, saveEditedGraph: function() { var name = $("#editGraphName")[0].value, @@ -538,39 +525,6 @@ }, - createInfoGraphModal: function(name, vertices, edges) { - var buttons = [], - tableContent = []; - - tableContent.push( - window.modalView.createReadOnlyEntry( - "infoGraphName", - "Name", - name, - false - ) - ); - tableContent.push( - window.modalView.createReadOnlyEntry( - "infoVertices", - "Vertices", - vertices, - false - ) - ); - tableContent.push( - window.modalView.createReadOnlyEntry( - "infoEdges", - "Edges", - edges, - false - ) - ); - - window.modalView.show("modalTable.ejs", "Graph Properties", buttons, tableContent); - - }, - showHideDefinition : function(e) { e.stopPropagation(); var id = $(e.currentTarget).attr("id"), number;