modified content_macro(): pass param.as to getRenderedContentPart() since the latter now accepts different text formats (plaintext, alttext ...)

This commit is contained in:
Robert Gaggl 2004-02-29 16:15:14 +00:00
parent b1f764e855
commit db341b6b52

View file

@ -23,9 +23,9 @@ function content_macro(param) {
default :
if (!param.clipping)
param.clipping = "...";
var part = this.getRenderedContentPart(param.part);
var part = this.getRenderedContentPart(param.part, param.as);
if (!part && param.fallback)
part = this.getRenderedContentPart(param.fallback);
part = this.getRenderedContentPart(param.fallback, param.as);
if (param.as == "link") {
if (this._prototype != "comment")
Html.openLink({href: this.href()});