fixed #9933: Matrix 2.0 - Unable to view/edit product maintainer account

This commit is contained in:
Yung Han Khoe 2009-03-28 20:04:20 +00:00
parent 01b8ccf412
commit 9cdd099d5e
2 changed files with 9 additions and 0 deletions

View file

@ -304,6 +304,14 @@ sub getEditForm {
-hoverHelp =>$i18n->get("description description"),
-value =>$self->getValue('description'),
);
if ($self->getParent->canEdit) {
$form->user(
name =>"ownerUserId",
value =>$self->getValue('ownerUserId'),
label =>$i18n->get('maintainer label'),
hoverHelp =>$i18n->get('maintainer description'),
);
}
$form->text(
-name =>'version',
-defaultValue =>undef,