lib/thoth/public/js/admin/name.js
/**
   * Handles Ajax suggest_name responses.
   *
   * @method handleSuggestResponse
   * @param {Object} response response object
   * @private
   */
Handles Ajax suggest_name responses.
@method handleSuggestResponse
@param {Object} response response object
@private
Handles Ajax suggest_name responses . @method handleSuggestResponse @param { Object } response response object @private
function handleSuggestResponse(response) {
    try {
      yud.get('name').value = Y.lang.JSON.parse(response.responseText).name;
    } catch (e) {}
  }
function handleSuggestResponse ( response ) { try { yud . get ( 'name' ) . value = Y . lang . JSON . parse ( response . responseText ) . name ; } catch ( e ) { } }
Handles Ajax suggest_name responses.
Handles Ajax suggest_name responses .