// Merge -> revision 8149

This commit is contained in:
rMalie
2011-08-22 16:22:16 +00:00
parent 53d9b1343b
commit 08a8ffdcf9
18 changed files with 103 additions and 34 deletions
+7
View File
@@ -46,6 +46,10 @@ $(document).ready(function(){
});
$('#categories-treeview li#1 span').trigger('click');
$('#categories-treeview li#1').children('div').remove();
$('#categories-treeview li#1').
removeClass('collapsable lastCollapsable').
addClass('last static');
$('#expand_all').click( function () {
expandAllCategories();
@@ -127,6 +131,9 @@ function expandAllCategories()
// if no category to expand, no action
if (!needExpandAllCategories())
return;
// force to open main category
if ($('li#1').is('.expandable'))
$('li#1').children('span.folder').trigger('click');
readyToExpand = true;
if (setCategoryToExpand())
interval = setInterval(openCategory, 10);