Index: lams_tool_scratchie/web/pages/learning/results.jsp =================================================================== diff -u -ra4f9ff236bd18651fb7adf3c14086410299525a3 -rc458323d8a71c292a9f1884beac4f6da171d8b16 --- lams_tool_scratchie/web/pages/learning/results.jsp (.../results.jsp) (revision a4f9ff236bd18651fb7adf3c14086410299525a3) +++ lams_tool_scratchie/web/pages/learning/results.jsp (.../results.jsp) (revision c458323d8a71c292a9f1884beac4f6da171d8b16) @@ -63,6 +63,12 @@ .ui-jqgrid tr.jqfoot>td, .ui-jqgrid tr.jqgroup>td, .ui-jqgrid tr.jqgrow>td, .ui-jqgrid tr.ui-subgrid>td, .ui-jqgrid tr.ui-subtblcell>td { border-bottom-style: dotted; } + + /* links to burning questions */ + .scroll-down-to-bq { + overflow:auto; + margin-top: -20px; + } @@ -280,6 +286,14 @@ // trigger the resize when the window first opens so that the grid uses all the space available. setTimeout(function(){ window.dispatchEvent(new Event('resize')); }, 300); + + //hide links to burning questions that were not created by the user + $(".scroll-down-to-bq a").each(function() { + var itemUid = $(this).data("item-uid"); + if ( $( "#burningQuestions" + itemUid ).length == 0) { + $(this).parent().hide(); + } + }); })