Comment 28 for bug 310217

Revision history for this message
In , Edilee-mozilla (edilee-mozilla) wrote :

Comment on attachment 503735
Change loadSearch as well (and remove references to defaultEngine from comments)

nsContextMenu.js drives the engine name that shows up in the context menu, so with the current patch, it'll use the right engine but show the wrong text.

See isTextSelection in that file for a code path similar to the one you already changed.

if (isElementVisible(BrowserSearch.searchBar))