Index: quicktabs.install =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/quicktabs/quicktabs.install,v retrieving revision 1.4.2.9 diff -u -p -r1.4.2.9 quicktabs.install --- quicktabs.install 6 Apr 2009 18:17:54 -0000 1.4.2.9 +++ quicktabs.install 11 Sep 2009 21:04:14 -0000 @@ -42,6 +42,13 @@ function quicktabs_schema() { 'length' => 255, 'not null' => TRUE, ), + 'default_tab' => array( + 'description' => 'Default tab.', + 'type' => 'int', + 'unsigned' => TRUE, + 'size' => 'tiny', + 'not null' => TRUE, + ), ), 'primary key' => array('qtid'), ); @@ -84,7 +91,7 @@ function quicktabs_update_6000() { */ function quicktabs_update_6001() { $ret = array(); - db_add_field($ret, 'quicktabs', 'ajax', array('description' => 'Whether this is an ajax views block', 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0)); + db_add_field($ret, 'quicktabs', 'ajax', array('description' => t('Whether this is an ajax views block'), 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0)); return $ret; } @@ -181,3 +188,12 @@ function quicktabs_update_6004() { } return $ret; } + +/** + * Add default_tab column. + */ +function quicktabs_update_6005() { + $ret = array(); + db_add_field($ret, 'quicktabs', 'default_tab', array('description' => 'The default tab.', 'type' => 'int', 'size' => 'tiny', 'unsigned' => TRUE, 'not null' => TRUE)); + return $ret; +} Index: quicktabs.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/quicktabs/quicktabs.module,v retrieving revision 1.10.2.65 diff -u -p -r1.10.2.65 quicktabs.module --- quicktabs.module 18 Jul 2009 03:05:13 -0000 1.10.2.65 +++ quicktabs.module 11 Sep 2009 21:04:14 -0000 @@ -189,6 +189,7 @@ function quicktabs_render($quicktabs) { )); $output = '