commented out www_edit method so that the generalized, internationalized one in Wobject.pm will be used.

This commit is contained in:
Matthew Wilson 2005-10-14 18:53:59 +00:00
parent 46c1c0d8a3
commit 5144b65842
9 changed files with 57 additions and 57 deletions

View file

@ -459,12 +459,12 @@ sub www_deleteSpecificationConfirm {
}
#-------------------------------------------------------------------
sub www_edit {
my $self = shift;
return WebGUI::Privilege::insufficient() unless $self->canEdit;
$self->getAdminConsole->setHelp("product add/edit","Asset_Product");
return $self->getAdminConsole->render($self->getEditForm->print,WebGUI::International::get("6","Asset_Product"));
}
#sub www_edit {
# my $self = shift;
# return WebGUI::Privilege::insufficient() unless $self->canEdit;
# $self->getAdminConsole->setHelp("product add/edit","Asset_Product");
# return $self->getAdminConsole->render($self->getEditForm->print,WebGUI::International::get("6","Asset_Product"));
#}
#-------------------------------------------------------------------
sub www_editSave {