Rev 11838 | Rev 13495 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11838 | Rev 13306 | ||
---|---|---|---|
Line 46... | Line 46... | ||
46 | !goto end |
46 | !goto end |
47 | !endif |
47 | !endif |
48 | 48 | ||
49 | <div id="exam_management"> |
49 | <div id="exam_management"> |
50 | !if $jquery_defined=yes |
50 | !if $jquery_defined=yes |
51 | <script |
51 | <script> |
52 | /*<![CDATA[*/ |
52 | /*<![CDATA[*/ |
53 | jQuery(function($$) { |
53 | jQuery(function($$) { |
54 | // Get in sessionStorage if a tab was previously selected, and activate it. |
54 | // Get in sessionStorage if a tab was previously selected, and activate it. |
55 | var selectedTabId = sessionStorage.getItem("exam_management_selectedTab"); |
55 | var selectedTabId = sessionStorage.getItem("exam_management_selectedTab"); |
56 | selectedTabId = selectedTabId === null ? 0 : selectedTabId; //default tab = 0 |
56 | selectedTabId = selectedTabId === null ? 0 : selectedTabId; //default tab = 0 |