B2G/gecko/browser/components/places/content/bookmarkProperties.js
/**
   * This method returns the correct title for the current variant
   * of this dialog.
   */
This method returns the correct title for the current variant
of this dialog.
This method returns the correct title for the current variant of this dialog .
function BPP__getDialogTitle() {
    if (this._action == ACTION_ADD) {
      if (this._itemType == BOOKMARK_ITEM)
        return this._strings.getString("dialogTitleAddBookmark");
      if (this._itemType == LIVEMARK_CONTAINER)
        return this._strings.getString("dialogTitleAddLivemark");
      NS_ASSERT(this._itemType == BOOKMARK_FOLDER, "Unknown item type");
      if (this._URIs.length)
        return this._strings.getString("dialogTitleAddMulti");
      return this._strings.getString("dialogTitleAddFolder");
    }
    if (this._action == ACTION_EDIT) {
      return this._strings.getFormattedString("dialogTitleEdit", [this._title]);
    }
    return "";
  }
function BPP__getDialogTitle ( ) { if ( this . _action == ACTION_ADD ) { if ( this . _itemType == BOOKMARK_ITEM ) return this . _strings . getString ( "dialogTitleAddBookmark" ) ; if ( this . _itemType == LIVEMARK_CONTAINER ) return this . _strings . getString ( "dialogTitleAddLivemark" ) ; NS_ASSERT ( this . _itemType == BOOKMARK_FOLDER , "Unknown item type" ) ; if ( this . _URIs . length ) return this . _strings . getString ( "dialogTitleAddMulti" ) ; return this . _strings . getString ( "dialogTitleAddFolder" ) ; } if ( this . _action == ACTION_EDIT ) { return this . _strings . getFormattedString ( "dialogTitleEdit" , [ this . _title ] ) ; } return "" ; }
This method returns the correct title for the current variant
 of this dialog.
This method returns the correct title for the current variant of this dialog .
// add folder