Commit 338f92ac authored by Romain Loth's avatar Romain Loth

new tina 1.2 url syntax with param 'sourcemode'

parent d592def9
......@@ -757,7 +757,7 @@ def register():
</li>
<li>
<span class="glyphicon glyphicon-eye-open"></span>&nbsp;&nbsp;
<a href='/explorerjs.html?type="uid"&nodeidparam=%(luid)i'> Your Map </a>
<a href='/explorerjs.html?sourcemode="api"&type="uid"&nodeidparam=%(luid)i'> Your Map </a>
</li>
<li>
<span class="glyphicon glyphicon glyphicon-stats"></span>&nbsp;&nbsp;
......
......@@ -240,7 +240,7 @@ $(document).ready(function() {
return window.open("/print_scholar_directory.php?query=" + nodeId);
}
document.getElementById('generate2').onclick = function() {
return window.open('/explorerjs.html?type="uid"&nodeidparam="' + nodeId + '"');
return window.open('/explorerjs.html?sourcemode="api"&type="uid"&nodeidparam="' + nodeId + '"');
}
}
......@@ -327,7 +327,7 @@ $(document).ready(function() {
}
return null
}
return window.open('/explorerjs.html?type="filter"&nodeidparam="' + escape(query) +'"');
return window.open('/explorerjs.html?sourcemode="api"&type="filter"&nodeidparam="' + escape(query) +'"');
//return loadGraph("getgraph.php?query=" + query);
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment