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

@ -6,6 +6,7 @@
to place a small form next to each Sku that displays. Sku's with complex
forms (like the EMS sku's), simply display a button to take the user to the
sku's view screen for the whole form. [TEMPLATE]
- fixed #9933: Matrix 2.0 - Unable to view/edit product maintainer account
7.7.1
- the AdSku project: create a Sku that allows buyers to purchase advertising in select AdSpaces at selected priorities

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,