Dear diary, on Sun, Feb 20, 2005 at 09:24:55PM CET, I got a letter,
where [EMAIL PROTECTED] told me, that...
> This is an automated notification of a change to the ELinks CVS tree.
>
> Author: witekfl
> Module: elinks
> Tag: <TRUNK>
> Date: Sun Feb 20 20:24:55 2005 GMT
>
> ---- Log message:
>
> onClick="history.back" special treatment's comment.
>
>
>
> ---- Files affected:
>
> elinks/src/ecmascript:
> spidermonkey.c (1.193 -> 1.194)
>
> http://cvsweb.elinks.or.cz/cvsweb.cgi/elinks/src/ecmascript/spidermonkey.c.diff?r1=1.193&r2=1.194&f=u
>
>
> ---- Diffs:
>
> elinks/src/ecmascript/spidermonkey.c | 2 +-
> 1 files changed, 1 insertion(+), 1 deletion(-)
>
>
> Index: elinks/src/ecmascript/spidermonkey.c
> diff -u elinks/src/ecmascript/spidermonkey.c:1.193
> elinks/src/ecmascript/spidermonkey.c:1.194
> --- elinks/src/ecmascript/spidermonkey.c:1.193 Sun Feb 20 21:07:24 2005
> +++ elinks/src/ecmascript/spidermonkey.c Sun Feb 20 21:24:50 2005
> @@ -2158,7 +2158,7 @@
> setup_safeguard(interpreter, ctx);
> ret = JS_EvaluateScript(ctx, JS_GetGlobalObject(ctx),
> code->source, code->length, "", 0, &rval);
> - if (ret == 2) {
> + if (ret == 2) { /* onClick="history.back()" */
> return 0;
> };
> if (ret == JS_FALSE) {
I'm sorry but I fear there is a misunderstanding here. I wanted you to
describe why such a special hack for the history.back() case is needed.
Thanks,
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
98% of the time I am right. Why worry about the other 3%.
_______________________________________________
ELinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev