Skip to content

Commit

Permalink
updates for fetch text ajax handling
Browse files Browse the repository at this point in the history
  • Loading branch information
tvroom committed Apr 18, 2007
1 parent 2557bcd commit 973c9e3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions plugins/FireHose/FireHose.pm
Expand Up @@ -1214,12 +1214,12 @@ sub dispFireHose {
$options ||= {};

slashDisplay('dispFireHose', {
item => $item,
mode => $options->{mode},
tags_top => $options->{tags_top},
options => $options->{options},
vote => $options->{vote},
bodycontent => $options->{bodycontent}
item => $item,
mode => $options->{mode},
tags_top => $options->{tags_top},
options => $options->{options},
vote => $options->{vote},
bodycontent_include => $options->{bodycontent_include}
}, { Page => "firehose", Return => 1 });
}

Expand Down Expand Up @@ -1718,11 +1718,11 @@ sub listView {
} else {
$last_day = timeCalc($item->{createtime}, "%Y%m%d");
$itemstext .= $self->dispFireHose($item, {
mode => $curmode,
tags_top => $tags_top,
options => $options,
vote => $votes->{$item->{globjid}},
bodycontent => $user->{is_anon} || $curmode == "full"
mode => $curmode,
tags_top => $tags_top,
options => $options,
vote => $votes->{$item->{globjid}},
bodycontent_include => $user->{is_anon}
});
}
$i++;
Expand Down
2 changes: 1 addition & 1 deletion plugins/FireHose/templates/dispFireHose;firehose;default
Expand Up @@ -26,7 +26,7 @@ __template__
END;

IF mode == "fulltitle";
IF !bodycontent;
IF !bodycontent_include;
bodycontent = 0;
END;
ELSIF mode == "bodycontent";
Expand Down

0 comments on commit 973c9e3

Please sign in to comment.