- // Initially hide all tabs on the top of the page
- // if there's no data in there yet.
- var fields = $('#content .input_forms .input_form.current').find('textarea, input[type=text], input[type=""]');
- var anything = false;
- fields.each(function () {
- anything = anything || $(this).val();
+ // Initialize the input form field
+ $('#input_form_nav .input_form_nav_tab.current').each(function () {
+ current_tab_id = $(this).attr('id').substring('input_form_nav_'.length);
+ SN.U.switchInputFormTab(current_tab_id, false);