mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
7 lines
236 B
JavaScript
7 lines
236 B
JavaScript
|
(function($) {
|
||
|
$('.cms-tree').bind('select_node.jstree', function(e, data) {
|
||
|
var node = data.rslt.obj, url = $(node).find('a:first').attr('href');
|
||
|
if(url && url != '#') document.location.href = url;
|
||
|
return false;
|
||
|
});
|
||
|
}(jQuery));
|