use jquery-ui for input_forms tabset

This commit is contained in:
Evan Prodromou
2011-03-10 10:53:11 -06:00
parent a5daed0aa8
commit c4bada9022
3 changed files with 4 additions and 31 deletions

View File

@@ -1276,22 +1276,6 @@ var SN = { // StatusNet
return false;
},
/**
* Switch to another active input sub-form.
* This will hide the current form (if any), show the new one, and
* update the input type tab selection state.
*
* @param {String} tag
*/
switchInputFormTab: function(tag) {
// The one that's current isn't current anymore
$('.input_form_nav_tab.current').removeClass('current');
$('#input_form_nav_'+tag).addClass('current');
$('.input_form.current').removeClass('current');
$('#input_form_'+tag).addClass('current');
}
},
Init: {