Difference between revisions of "MediaWiki:Common.js"
From Organic Design wiki
m |
|||
Line 1: | Line 1: | ||
− | |||
$('#sidebartree').bind('fancytreeinit', function(event, data) { | $('#sidebartree').bind('fancytreeinit', function(event, data) { | ||
window.foo = data.tree; | window.foo = data.tree; | ||
console.log(data.tree); | console.log(data.tree); | ||
}); | }); | ||
− |
Revision as of 16:23, 15 June 2015
$('#sidebartree').bind('fancytreeinit', function(event, data) { window.foo = data.tree; console.log(data.tree); });