Comment preview does not work

Jari Turkia <[email protected]> Fri, 25 Jan 2013 14:15:37 +0200
Newsgroups gmane.comp.serendipity.devel
Message-ID <CAAbFtYjB7inA2z-cqv4d-B1fpLJxLpLVu3YYTgNRkvrwGBLCtw@mail.gmail.com>
--===============3608563257118827479==
Content-Type: multipart/alternative; boundary=14dae93406f393d04304d41be24f

--14dae93406f393d04304d41be24f
Content-Type: text/plain; charset=ISO-8859-1

Is it just me, or doesn't comment reply "Preview" button do anything?

Looking at the code, in file /serendipity/include/admin/comments.inc.php there
is:
$out        = serendipity_printComments($c);

If I change it to:
$out        = serendipity_printComments($c, VIEWMODE_LINEAR);
... preview function actually does display meaningful information.

Regards,
Jari Turkia

--14dae93406f393d04304d41be24f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Is it just me, or doesn&#39;t comment reply &quot;Pre=
view&quot; button do anything?</div><div>=A0</div><div>Looking at the code,=
 in file <font face=3D"courier new,monospace">/serendipity/include/admin/co=
mments.inc.php </font>there is:</div>
<div><font face=3D"courier new,monospace" size=3D"1">$out=A0=A0=A0=A0=A0=A0=
=A0 =3D serendipity_printComments($c);</font></div><div>=A0</div><div>If I =
change it to:<br><font face=3D"courier new,monospace" size=3D"1">$out=A0=A0=
=A0=A0=A0=A0=A0 =3D serendipity_printComments($c, VIEWMODE_LINEAR);</font><=
/div>
<div>... preview function actually does display meaningful information.</di=
v><div>=A0</div><div>Regards,</div><div>Jari Turkia<br></div></div>

--14dae93406f393d04304d41be24f--


--===============3608563257118827479==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
--===============3608563257118827479==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
php-blog-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/php-blog-devs

--===============3608563257118827479==--