fix netmap position saving

This commit is contained in:
Oliver Gorwits
2018-03-19 22:58:14 +00:00
parent 6b3e4ceba7
commit 72b64048bb
4 changed files with 31 additions and 8 deletions

View File

@@ -145,6 +145,10 @@
var node = graph.nodeDataById( graph['nd2']['centernode'] );
graph.zoomSmooth(node.x, node.y, node.radius * 125);
});
$('#nd_netmap-save').on('click', function(event) {
event.preventDefault();
saveMapPositions();
});
// activity for admin tasks in device details
$('#details_pane').on('click', '.nd_adminbutton', function(event) {