third_party/js/mozmill/shared-modules/search.js
function engineManager_editKeyword(name, handler)
  {
    // Select the search engine
    this.selectedEngine = name;

    // Setup the modal dialog handler
    md = new modalDialog.modalDialog(this._controller.window);
    md.start(handler);

    var button = this.getElement({type: "engine_button", subtype: "edit"});
    this._controller.click(button);
    md.waitForDialog();
  }
function engineManager_editKeyword(name, handler)
  {
    // Select the search engine
    this.selectedEngine = name;

    // Setup the modal dialog handler
    md = new modalDialog.modalDialog(this._controller.window);
    md.start(handler);

    var button = this.getElement({type: "engine_button", subtype: "edit"});
    this._controller.click(button);
    md.waitForDialog();
  }
function engineManager_editKeyword ( name , handler ) { // Select the search engine this . selectedEngine = name ; // Setup the modal dialog handler md = new modalDialog . modalDialog ( this . _controller . window ) ; md . start ( handler ) ; var button = this . getElement ( { type : "engine_button" , subtype : "edit" } ) ; this . _controller . click ( button ) ; md . waitForDialog ( ) ; }
Edit the keyword associated to a search engine

@param {string} name
Name of the engine to remove
@param {function} handler
Callback function for Engine Manager
Edit the keyword associated to a search engine