B2G/gecko/browser/components/places/content/editBookmarkOverlay.js
/**
    * Stores the first-edit field for this dialog, if the passed-in field
    * is indeed the first edited field
    * @param aNewField
    *        the id of the field that may be set (without the "editBMPanel_"
    *        prefix)
    */
Stores the first-edit field for this dialog, if the passed-in field
is indeed the first edited field
@param aNewField
the id of the field that may be set (without the "editBMPanel_"
prefix)
Stores the first - edit field for this dialog if the passed - in field is indeed the first edited field @param aNewField the id of the field that may be set ( without the " editBMPanel_ " prefix )
function EIO__mayUpdateFirstEditField(aNewField) {
    if (this._multiEdit || this._firstEditedField)
      return;
    this._firstEditedField = aNewField;
    var prefs = Cc["@mozilla.org/preferences-service;1"].
                getService(Ci.nsIPrefBranch);
    prefs.setCharPref("browser.bookmarks.editDialog.firstEditField", aNewField);
  }
function EIO__mayUpdateFirstEditField ( aNewField ) { if ( this . _multiEdit || this . _firstEditedField ) return ; this . _firstEditedField = aNewField ; var prefs = Cc [ "@mozilla.org/preferences-service;1" ] . getService ( Ci . nsIPrefBranch ) ; prefs . setCharPref ( "browser.bookmarks.editDialog.firstEditField" , aNewField ) ; }
Stores the first-edit field for this dialog, if the passed-in field
 is indeed the first edited field
 @param aNewField
        the id of the field that may be set (without the "editBMPanel_"
        prefix)
Stores the first - edit field for this dialog if the passed - in field is indeed the first edited field @param aNewField the id of the field that may be set ( without the " editBMPanel_ " prefix )
// * The first-edit-field behavior is not applied in the multi-edit case // * if this._firstEditedField is already set, this is not the first field, //   so there's nothing to do // set the pref