[Companion] Fix for "Add Bookmarks"

Shane Volpe shanevolpe at yahoo.com
Tue Sep 14 05:53:18 EDT 2004


Brian,
Nice job, I just tried your fix and it worked great!
Regards,
Shane
--- Brian <mozdev at bkennelly.net> wrote:

> Hi,
> 
> I finally got around to installing the version 0.5.2
> of the Companion 
> toolbar, and fixed the 'Add Bookmark to folder'
> problem.
> 
> The isAddBookmark function in class_MenuItem.js is
> testing the title 
> with an exact match.  I changed it to a substring
> match and all is well
> 
> if(this.getTitle().substr(0,12) == "Add Bookmark")
> 
> I don't know any other way to do a prefix match,
> which is all that is 
> needed.
> 
> Brian
> BTW, it seems to work fine in Netscape 7.2.  I
> probably won't bother to 
> test it in Firefox.  For my needs, either Netscape
> or the Mozilla suite 
> is much better.
> 
> 
> _______________________________________________
> Companion mailing list
> Companion at mozdev.org
> http://mozdev.org/mailman/listinfo/companion
> 



More information about the Companion mailing list