/** @brief Convert the form fieldsets in a form2 table to ajaxy tabs. @since 2015-07-11 19:47:46 **/ ;(function( $ ) { $.fn.extend( { plainview_form_auto_tabs : function() { return this.each( function() { var $this = $(this); if ( $this.hasClass( 'auto_tabbed' ) ) return; $this.addClass( 'auto_tabbed' ); var $fieldsets = $( 'div.fieldset', $this ); if ( $fieldsets.length < 1 ) return; $this.prepend( '
' ); // Create the "tabs", which are normal Wordpress tabs. var $subsubsub = $( '