save sidebar settings when Update View; fix bugs

This commit is contained in:
Oliver Gorwits
2014-11-01 12:26:04 +00:00
parent e83bc2185f
commit a1b5b301db
4 changed files with 44 additions and 45 deletions

View File

@@ -69,11 +69,9 @@
$(document).ready(function() {
// on page load, load the content for the active tab
[% IF tabname %]
[% IF tabname == 'ipinventory' OR tabname == 'subnets' %]
[% IF tabname AND (tabname == 'ipinventory' OR tabname == 'subnets') %]
$('#[% tabname %]_submit').click();
[% ELSE %]
$('#[% tabname %]_form').trigger("submit");
[% END %]
[% END %]
});