[svn:p5ee] r3652 - p5ee/trunk/App-Widget/lib/App/Widget

[email protected]
Newsgroups perl.cvs.p5ee
Message-ID <[email protected]>
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;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.