[Rt-commit] rt branch, admin_ui, updated. 794c655080e69f5548863a9e484a3760e098042f
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Fri Dec 4 01:49:51 EST 2009
The branch, admin_ui has been updated
via 794c655080e69f5548863a9e484a3760e098042f (commit)
from 514c7a14cc31531477420ebd8320b6e6de10f2a4 (commit)
Summary of changes:
lib/RT/Action/EditUserRights.pm | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit 794c655080e69f5548863a9e484a3760e098042f
Author: sunnavy <sunnavy at bestpractical.com>
Date: Fri Dec 4 14:49:44 2009 +0800
tiny tweak: no need to trans available_values explictly
diff --git a/lib/RT/Action/EditUserRights.pm b/lib/RT/Action/EditUserRights.pm
index 42bb110..c22459a 100644
--- a/lib/RT/Action/EditUserRights.pm
+++ b/lib/RT/Action/EditUserRights.pm
@@ -25,10 +25,9 @@ sub arguments {
default_value => defer {
$self->default_value( $group->principal_id );
},
- available_values => defer { $self->available_values },
- render_as => 'Checkboxes',
- multiple => 1,
- label => render_user( $user->member->object ),
+ render_as => 'Checkboxes',
+ multiple => 1,
+ label => render_user( $user->member->object ),
};
}
return $args;
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list