|
Lines 1854-1863
legend.collapsed i.fa.fa-caret-down::before {
Link Here
|
| 1854 |
function togglePanel( node ){ |
1854 |
function togglePanel( node ){ |
| 1855 |
var panel = node.nextAll(); |
1855 |
var panel = node.nextAll(); |
| 1856 |
if(panel.is(":visible")){ |
1856 |
if(panel.is(":visible")){ |
| 1857 |
node.addClass("collapsed").removeClass("expanded").attr("title", __("Click to expand this section") ); |
1857 |
node.addClass("collapsed").removeClass("expanded").attr("title", _("Click to expand this section") ); |
| 1858 |
panel.hide(); |
1858 |
panel.hide(); |
| 1859 |
} else { |
1859 |
} else { |
| 1860 |
node.addClass("expanded").removeClass("collapsed").attr("title", __("Click to collapse this section") ); |
1860 |
node.addClass("expanded").removeClass("collapsed").attr("title", _("Click to collapse this section") ); |
| 1861 |
panel.show(); |
1861 |
panel.show(); |
| 1862 |
panel.find("input, select, textarea").eq(0).focus(); |
1862 |
panel.find("input, select, textarea").eq(0).focus(); |
| 1863 |
} |
1863 |
} |