Toggle action updated
Toggle action updated

The toggles initial states were initially inconsistent after saving the
form. Several js remedies were tried but the only consistent success
was obtained when manually setting the initial states of the sections
like so:

if($pconfig['enable'])
	$section->addClass('toggle-snmp', 'in');
else
	$section->addClass('toggle-snmp', 'collapse');

Suggestions welcome

dennypage/pfsense,BlackstarGroup/pfsense,ptorsten/pfsense,phil-davis/pfsense,ch1c4um/pfsense,NOYB/pfsense,jxmx/pfsense,pfsense/pfsense,ptorsten/pfsense,NOYB/pfsense,pfsense/pfsense,ptorsten/pfsense,dennypage/pfsense,jxmx/pfsense,brunostein/pfsense,NOYB/pfsense,ch1c4um/pfsense,dennypage/pfsense,brunostein/pfsense,phil-davis/pfsense,pfsense/pfsense,phil-davis/pfsense,pfsense/pfsense,NewEraCracker/pfsense,jxmx/pfsense,ch1c4um/pfsense,NewEraCracker/pfsense,brunostein/pfsense,BlackstarGroup/pfsense,dennypage/pfsense,NewEraCracker/pfsense,ch1c4um/pfsense,phil-davis/pfsense,NewEraCracker/pfsense,BlackstarGroup/pfsense,BlackstarGroup/pfsense