1
edit
Changes
m
no edit summary
+ // Remove the dynamically added search engine if it is on the list.
+ try {
+ if (gAddedEngine){
+ searchService.removeEngine(searchService.getEngineByName(gAddedEngine.name));
+ gAddedEngine = null;
+ }
+ } catch (e) {
+ }
+ // to add the "Add <Search Engine>" item to the list of installed engines.
+ try {
+ if (gAddedEngine){
+ this.searchService.removeEngine(this.searchService.getEngineByName(gAddedEngine.name));
+ gAddedEngine = null;
+ }
+ } catch (e) {
+ }