Author: spadkins
Date: Fri Mar 10 07:41:18 2006
New Revision: 3652

Modified:
   p5ee/trunk/App-Widget/lib/App/Widget/DataTable2.pm

Log:
fixed a big bug with delete (change delete() to delete_rows() instead of 
accidentally overriding the SessionObject.delete() method

Modified: p5ee/trunk/App-Widget/lib/App/Widget/DataTable2.pm
==============================================================================
--- p5ee/trunk/App-Widget/lib/App/Widget/DataTable2.pm  (original)
+++ p5ee/trunk/App-Widget/lib/App/Widget/DataTable2.pm  Fri Mar 10 07:41:18 2006
@@ -168,7 +168,7 @@
         $handled = 1;
     }
     elsif ($wname eq "$name-delete") {
-        $self->delete();
+        $self->delete_rows();
         $handled = 1;
     }
     elsif ($wname eq "$name-copy") {
@@ -541,7 +541,7 @@
     &App::sub_exit() if ($App::trace);
 }
 
-sub delete {
+sub delete_rows {
     &App::sub_entry if ($App::trace);
     my $self = shift;
 

Reply via email to