[Mozile] Small fix in core.js
James A. Overton
james at overton.ca
Wed Nov 8 13:15:48 PST 2006
Thanks Thomas,
You're right that mozile.findRoot() should make sure the "src"
attribute exists before using indexOf(). The latest core.js in CVS
fixes this problem, in a slightly more complicated way:
http://mozile.mozdev.org/0.8/src/core.js
Yeah, if the Firefox developers just supported contentEditable, we'd
get a cursor and it would be fine. CSS control would be nice, too.
I've never tried asking... maybe they'd say yes.
James
On 2006-Nov-08, at 3:16 PM, Thomas Hümmer wrote:
> In Line 170 of Core.js in Mozile 0.8 you should replace the line:
>
> if(scripts[i].getAttribute("src").indexOf("mozile.js") > -1) {
>
> with
>
> if(scripts[i].getAttribute("src") &&
> scripts[i].getAttribute("src").indexOf("mozile.js") > -1) {
>
>
> PS: I think this Editor is awesome! I was looking for something like
> this for years. Perhaps you should convince the firefox developers to
> add an attribute to make the editing cursor visible by an css
> atribute!
>
>
> Thomas
> _______________________________________________
> Mozile mailing list
> Mozile at mozdev.org
> http://mozdev.org/mailman/listinfo/mozile
More information about the Mozile
mailing list