some comment cleanups
This commit is contained in:
parent
6278278508
commit
1e54cf0458
8 changed files with 10 additions and 14 deletions
|
|
@ -307,7 +307,7 @@ sub getEditForm {
|
|||
|
||||
=head2 getExtraHeadTags ( )
|
||||
|
||||
Returns the extraHeadTags stored in the asset. Called in $self->session->style->generateAdditionalHeadTags if this asset is the $self->session->asset. Also called in WebGUI::Layout::view for its child assets. Overriden here in Shortcut.pm.
|
||||
Returns the extraHeadTags stored in the asset. Called in $self->session->style->generateAdditionalHeadTags if this asset is the $self->session->asset. Also called in WebGUI::Asset::Wobject::Layout for its child assets. Overriden to also add tags from shortcutted asset.
|
||||
|
||||
=cut
|
||||
|
||||
|
|
|
|||
|
|
@ -289,7 +289,7 @@ sub onRemoveFromCart {
|
|||
|
||||
=head2 prepareView
|
||||
|
||||
See Asset.pm, prepareView for details.
|
||||
See WebGUI::Asset, prepareView for details.
|
||||
|
||||
=cut
|
||||
|
||||
|
|
|
|||
|
|
@ -382,7 +382,7 @@ sub www_importProducts {
|
|||
}
|
||||
else {
|
||||
$status_message = $i18n->get('import successful');
|
||||
##Copy and paste from Asset.pm, www_editSave
|
||||
##Copy and paste from WebGUI::Asset, www_editSave
|
||||
if ($self->session->setting->get("autoRequestCommit")) {
|
||||
# Make sure version tag hasn't already been committed by another process
|
||||
my $versionTag = WebGUI::VersionTag->getWorking($self->session, "nocreate");
|
||||
|
|
|
|||
|
|
@ -504,10 +504,6 @@ sub view {
|
|||
$self->session->errorHandler->warn("changed mimetype: " . $self->get("httpHeader"));
|
||||
}
|
||||
|
||||
# Note, we still process our template below even though it will never
|
||||
# be displayed if the redirectURL is set. Not sure how important it is
|
||||
# to do it this way, but it certainly is the least obtrusive to default
|
||||
# webgui flow. This feature currently requires a patched WebGUI.pm file.
|
||||
if ($self->session->form->process('redirectURL')) {
|
||||
$self->session->http->setRedirect($self->session->form->process('redirectURL'));
|
||||
return undef;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue