Index: lams_tool_scratchie/web/pages/learning/results.jsp =================================================================== diff -u -r719d06b425d2c38e035e2df824ad19558698ed57 -r35d1de65b70c75a5e82d3c5a4e9686f89670a7f3 --- lams_tool_scratchie/web/pages/learning/results.jsp (.../results.jsp) (revision 719d06b425d2c38e035e2df824ad19558698ed57) +++ lams_tool_scratchie/web/pages/learning/results.jsp (.../results.jsp) (revision 35d1de65b70c75a5e82d3c5a4e9686f89670a7f3) @@ -294,8 +294,15 @@ //handler for expand/collapse all button $("#toggle-burning-questions-button").click(function() { - $(".ui-jqgrid-titlebar-close").click(); var isExpanded = eval($(this).data("expanded")); + + //fire the actual buttons so burning questions can be closed/expanded + $(".ui-jqgrid-titlebar-close").each(function() { + if (!isExpanded && $('span', this).hasClass('fa-chevron-circle-down') + || isExpanded && $('span', this).hasClass('fa-chevron-circle-up')) { + this.click(); + } + }); //change button label var newButtonLabel = isExpanded ? "" : "";