send full query str from netmap for json

This commit is contained in:
Oliver Gorwits
2017-12-23 22:31:23 +00:00
parent 9a13bb7f9b
commit b1b22c9811
4 changed files with 21 additions and 15 deletions

View File

@@ -29,11 +29,7 @@ function resizeGraphContainer() {
}, 500)
}
$.getJSON('[% uri_for('/ajax/data/device/netmap') %]',{
q: '[% params.q %]'
,vlan: '[% params.vlan %]'
,mapshow: '[% params.mapshow %]'
}, function(mapdata) {
$.getJSON('[% uri_for('/ajax/data/device/netmap') %]?[% my_query %]', function(mapdata) {
jQuery(document).ready(function() {
window.graph = netGobrechtsD3Force('netmap_pane')