[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Minor bug in wml::des::navbar
- From: Florian Hars <nospam@thanx>
- Date: 14 Mar 1999 21:45:48 +0100
wml::des::navbar contains the statement $hint = $txt if ($hint eq '');
which lets Netscape choke on the result of
#use wml::des::navbar
<navbar:define name=foo txtcol_normal="#000000">
<navbar:button id=foo url=foo.html img=foo.gif txt=foo>
</navbar:define>
<navbar:render name=foo>
with
JavaScript Error: http://.../test.html, line 1:
unterminated string literal.
self.status = '<font color=
..............^
I think the $txt cleanup should be moved into the $txtonly rendering
part and the $img cleanup into the else part of that statement.
See also the code mentioned in my other posting.
Yours, Florian.
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com