Lines 13-18
Link Here
|
13 |
[% Asset.css("lib/jquery/plugins/jstree/themes/default/style.min.css") | $raw %] |
13 |
[% Asset.css("lib/jquery/plugins/jstree/themes/default/style.min.css") | $raw %] |
14 |
[% END %] |
14 |
[% END %] |
15 |
[% END %] |
15 |
[% END %] |
|
|
16 |
[%# FIXME authid is modified when passed authheadingdisplay %] |
17 |
[%# It's then wrong in the JS %] |
18 |
[% SET original_authid = authid %] |
16 |
</head> |
19 |
</head> |
17 |
[% INCLUDE 'bodytag.inc' bodyid='opac-authoritiesdetail' bodyclass='scrollto' %] |
20 |
[% INCLUDE 'bodytag.inc' bodyid='opac-authoritiesdetail' bodyclass='scrollto' %] |
18 |
[% INCLUDE 'masthead.inc' %] |
21 |
[% INCLUDE 'masthead.inc' %] |
Lines 183-189
Link Here
|
183 |
} |
186 |
} |
184 |
}, |
187 |
}, |
185 |
"plugins" : [ "types" ] |
188 |
"plugins" : [ "types" ] |
186 |
}).on('ready.jstree', function(){ $(this).jstree('open_all') |
189 |
}).on('ready.jstree', function(){ |
|
|
190 |
$(this).jstree('open_all'); |
191 |
$("#hier"+[% original_authid %]+"_anchor").on("click", |
192 |
function(e){e.preventDefault(); return false;} |
193 |
).css("text-decoration", "none").css("color", "#333"); |
194 |
$(".currentauth").css("text-decoration", "none").css("color", "#333"); |
187 |
}).bind("select_node.jstree", function (e, data) { |
195 |
}).bind("select_node.jstree", function (e, data) { |
188 |
e.preventDefault(); |
196 |
e.preventDefault(); |
189 |
document.location.href = data.node.a_attr.href; |
197 |
document.location.href = data.node.a_attr.href; |
190 |
- |
|
|