function init_disco(results_found, error_message) {
  if (disco_initialized()) {
    return false
  }
  if (results_found) {
    $("#results-heading").html("Complete Discography for "+artist)
    makeTableSortable(false)
    $("#disco-table").show()
  } else {
    if (error_message) {
      $("#results-heading").html(error_message)
    } else {
      $("#results-heading").html("No results found.")
    }
    $("#disco-table").hide()
  }
  $("#submit").html(SUBMIT_BTN_INIT_TEXT)
  $("#submit").prop('disabled', false)
  $("#disco-container").show()
}
/*
 * Initialize the discography display area
 *
 * results_found: boolean indicating if results were found
*/
Initialize the discography display area
results_found: boolean indicating if results were found
Initialize the discography display area results_found : boolean indicating if results were found
function init_disco(results_found, error_message) {
  if (disco_initialized()) {
    return false
  }
  if (results_found) {
    $("#results-heading").html("Complete Discography for "+artist)
    makeTableSortable(false)
    $("#disco-table").show()
  } else {
    if (error_message) {
      $("#results-heading").html(error_message)
    } else {
      $("#results-heading").html("No results found.")
    }
    $("#disco-table").hide()
  }
  $("#submit").html(SUBMIT_BTN_INIT_TEXT)
  $("#submit").prop('disabled', false)
  $("#disco-container").show()
}
function init_disco ( results_found , error_message ) { if ( disco_initialized ( ) ) { return false } if ( results_found ) { $ ( "#results-heading" ) . html ( "Complete Discography for " + artist ) makeTableSortable ( false ) $ ( "#disco-table" ) . show ( ) } else { if ( error_message ) { $ ( "#results-heading" ) . html ( error_message ) } else { $ ( "#results-heading" ) . html ( "No results found." ) } $ ( "#disco-table" ) . hide ( ) } $ ( "#submit" ) . html ( SUBMIT_BTN_INIT_TEXT ) $ ( "#submit" ) . prop ( 'disabled' , false ) $ ( "#disco-container" ) . show ( ) }
Initialize the discography display area
 results_found: boolean indicating if results were found
Initialize the discography display area results_found : boolean indicating if results were found