Private
Public Access
1
0

added brochure but doesn't show up

This commit is contained in:
Sander Roosendaal
2017-05-05 08:35:38 +02:00
parent 177c3cad74
commit 4727c1fafb
1333 changed files with 65521 additions and 215 deletions

View File

@@ -0,0 +1,21 @@
(function ($) {
function getSubcalls(row) {
var id = row.attr('id');
return $('.djDebugProfileRow[id^="'+id+'_"]');
}
function getDirectSubcalls(row) {
var subcalls = getSubcalls(row);
var depth = parseInt(row.attr('depth'), 10) + 1;
return subcalls.filter('[depth='+depth+']');
}
$('.djDebugProfileRow .djDebugProfileToggle').on('click', function(){
var row = $(this).closest('.djDebugProfileRow');
var subcalls = getSubcalls(row);
if (subcalls.css('display') == 'none') {
getDirectSubcalls(row).show();
} else {
subcalls.hide();
}
});
djdt.applyStyle('padding-left');
})(djdt.jQuery);