Lines 1006-1015
Link Here
|
1006 |
[% END %] |
1006 |
[% END %] |
1007 |
</ul> <!-- /.dropdown-menu --> |
1007 |
</ul> <!-- /.dropdown-menu --> |
1008 |
</div> <!-- /.dropdown --> |
1008 |
</div> <!-- /.dropdown --> |
1009 |
<a href="#" id="toggle_auto_links"> |
1009 |
<a href="#" class="btn btn-link" id="toggle_auto_links"> |
1010 |
<i class="fa fa-eye autolink" style="display:none"></i> |
1010 |
<i class="fa fa-eye autolink" style="display:none"></i> |
1011 |
<i class="fa fa-eye-slash autolink"></i> |
1011 |
<i class="fa fa-eye-slash autolink"></i> |
1012 |
Toggle data menus |
1012 |
<span class="autolink" style="display:none">Show data menus</span> |
|
|
1013 |
<span class="autolink">Hide data menus</span> |
1013 |
</a> |
1014 |
</a> |
1014 |
</p> |
1015 |
</p> |
1015 |
[% END # /IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %] |
1016 |
[% END # /IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %] |
Lines 1903-1910
Link Here
|
1903 |
} |
1904 |
} |
1904 |
$("#toggle_auto_links").on("click", function(e){ |
1905 |
$("#toggle_auto_links").on("click", function(e){ |
1905 |
e.preventDefault(); |
1906 |
e.preventDefault(); |
|
|
1907 |
if( $(".data-plain").is(":visible") ){ |
1908 |
/* if a data-plain element is visible, this click hides it and shows auto-links */ |
1909 |
localStorage.removeItem("reports_auto_link_off"); |
1910 |
} else { |
1911 |
/* if a data-plain element is hidden, this click shows it and hides auto-links */ |
1912 |
localStorage.setItem("reports_auto_link_off", 1); |
1913 |
} |
1906 |
$(".data-plain,.autolink").toggle(); |
1914 |
$(".data-plain,.autolink").toggle(); |
1907 |
}); |
1915 |
}); |
|
|
1916 |
if ( localStorage.getItem("reports_auto_link_off") == 1 ){ |
1917 |
$("#toggle_auto_links").click(); |
1918 |
} |
1908 |
}); |
1919 |
}); |
1909 |
|
1920 |
|
1910 |
function tabsInit( ui, rtable ){ |
1921 |
function tabsInit( ui, rtable ){ |