cvs -z9 diff -u -wb -F^function -- tablemanager.module (in directory C:\devtools\IRails\www\sites\default\modules\tablemanager\)
Index: tablemanager.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/tablemanager/tablemanager.module,v
retrieving revision 1.72.2.1
diff -u -w -b -F^function -r1.72.2.1 tablemanager.module
--- tablemanager.module	5 Dec 2006 13:30:45 -0000	1.72.2.1
+++ tablemanager.module	4 Feb 2007 06:43:17 -0000
@@ -385,6 +385,7 @@ function tablemanager_tabledelete($edit)
     t('Delete'),
     t('Cancel')
   );
+
   $output .= tablemanager_display($edit);
   return $output;
 } // tablemanager_tabledelete
@@ -1593,6 +1594,12 @@ function tablemanager_tables() {
  * Edits table header.
  */
 function tablemanager_tableedit($edit) {
+  // check here to see if user has confirmed a delete
+  $op = $_POST['op'];
+  if (strcmp('Delete', $op) == 0) {
+    $form['row']=$_POST['edit']['row'];
+    return tablemanager_columndelete_submit(null, $form);
+  }
   if (!is_numeric($edit)) {
     drupal_access_denied();
     return;
@@ -1610,10 +1617,10 @@ function tablemanager_tableedit($edit) {
     drupal_access_denied();
     return;
   }
-  $op = $_POST['op'];
   $col = substr($op, 16);
   switch (TRUE) {
     case is_numeric($col):
+    // this section is just bogus
       $form['row'] = array(
         '#type' => 'hidden',
         '#value' => check_plain($edit),
@@ -1845,6 +1852,7 @@ function tablemanager_tableedit_validate
   return;
 } // tablemanager_tableedit_validate
 
+
 /**
  * Submit function for tablemanager_columndelete_submit
  */

***** CVS exited normally with code 1 *****