B2G/gecko/browser/components/places/content/bookmarkProperties.js
/**
   * This method checks to see if the input fields are in a valid state.
   *
   * @returns  true if the input is valid, false otherwise
   */
This method checks to see if the input fields are in a valid state.
@returns  true if the input is valid, false otherwise
This method checks to see if the input fields are in a valid state . @returns true if the input is valid false otherwise
function BPP__inputIsValid() {
    if (this._itemType == BOOKMARK_ITEM &&
        !this._containsValidURI("locationField"))
      return false;
    if (this._isAddKeywordDialog && !this._element("keywordField").value.length)
      return false;
    return true;
  }
function BPP__inputIsValid ( ) { if ( this . _itemType == BOOKMARK_ITEM && ! this . _containsValidURI ( "locationField" ) ) return false ; if ( this . _isAddKeywordDialog && ! this . _element ( "keywordField" ) . value . length ) return false ; return true ; }
This method checks to see if the input fields are in a valid state.
This method checks to see if the input fields are in a valid state .