Skip to content
Browse files

Start for issue #28

  • Loading branch information...
1 parent fb5c7bc commit cc24367ff5f227f80b4b4fe2254bfcb794c21ff9 Cyril Feraudet committed Mar 30, 2013
Showing with 7 additions and 2 deletions.
  1. +7 −2 js/config.jstree.js
View
9 js/config.jstree.js
@@ -241,8 +241,13 @@ $(function () {
location.hash = hash.substr(1);
}).bind("loaded.jstree", function (event, data) {
if (!location.hash) { return; }
- var nodes = location.hash.substr(1).split('_');
- recurse_open_node(nodes);
+ if (location.hash.substr(0,10) == '#hostname=') {
+ var hostname = location.hash.substr(10);
+
+ } else {
+ var nodes = location.hash.substr(1).split('_');
+ recurse_open_node(nodes);
+ }
});
function recurse_open_node (nodes) {

0 comments on commit cc24367

Please sign in to comment.
Something went wrong with that request. Please try again.