[Jifty-commit] r7457 - jifty/trunk/lib/Jifty/View/Declare
Jifty commits
jifty-commit at lists.jifty.org
Thu Aug 27 03:57:35 EDT 2009
Author: sartak
Date: Thu Aug 27 03:57:35 2009
New Revision: 7457
Modified:
jifty/trunk/lib/Jifty/View/Declare/CRUD.pm
Log:
No longer need to display a Cancel button
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 Thu Aug 27 03:57:35 2009
@@ -532,15 +532,6 @@
}
]
);
- hyperlink(
- label => _("Cancel"),
- onclick => {
- replace_with => $self->fragment_for('view'),
- args => { object_type => $object_type, id => $id }
- },
- as_button => 1,
- class => 'cancel'
- );
if ( $record->current_user_can('delete') ) {
$delete->button(
label => _('Delete'),
More information about the Jifty-commit
mailing list