third_party/js/mozmill/shared-modules/search.js
function preferencesDialog_close(saveChanges) {
    saveChanges = (saveChanges == undefined) ? false : saveChanges;

    var button = this.getElement({type: "button", subtype: (saveChanges ? "accept" : "cancel")});
    this._controller.click(button);
  }
function preferencesDialog_close(saveChanges) {
    saveChanges = (saveChanges == undefined) ? false : saveChanges;

    var button = this.getElement({type: "button", subtype: (saveChanges ? "accept" : "cancel")});
    this._controller.click(button);
  }
function preferencesDialog_close ( saveChanges ) { saveChanges = ( saveChanges == undefined ) ? false : saveChanges ; var button = this . getElement ( { type : "button" , subtype : ( saveChanges ? "accept" : "cancel" ) } ) ; this . _controller . click ( button ) ; }
Close the engine manager

@param {MozMillController} controller
MozMillController of the window to operate on
@param {boolean} saveChanges
(Optional) If true the OK button is clicked otherwise Cancel
Close the engine manager