[Jifty-commit] r6222 - in jifty/trunk: lib/Jifty/View/Declare

Jifty commits jifty-commit at lists.jifty.org
Fri Jan 9 15:49:15 EST 2009


Author: sartak
Date: Fri Jan  9 15:49:15 2009
New Revision: 6222

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/View/Declare/CRUD.pm

Log:
 r78526 at onn:  sartak | 2009-01-09 15:48:46 -0500
 id is not editable (though if you really demand it you can have it)


Modified: jifty/trunk/lib/Jifty/View/Declare/CRUD.pm
==============================================================================
--- jifty/trunk/lib/Jifty/View/Declare/CRUD.pm	(original)
+++ jifty/trunk/lib/Jifty/View/Declare/CRUD.pm	Fri Jan  9 15:49:15 2009
@@ -260,7 +260,7 @@
 
 sub edit_columns {
     my $self = shift; 
-    return $self->display_columns(@_);
+    return grep { $_ ne 'id' } $self->display_columns(@_);
 }
 
 sub create_columns {


More information about the Jifty-commit mailing list