Added more info to refresh failure dialog.
This commit is contained in:
parent
27cda72609
commit
13988566a8
@ -140,9 +140,9 @@ $("#api-refresh").click (e) ->
|
||||
$("#api-refresh").attr('data-original-title', "Last API Refresh:<br>" + retData.last_refresh + "<br>Click to refresh");
|
||||
$('#success-area').show();
|
||||
|
||||
).fail(() ->
|
||||
).fail((xhr, textStatus) ->
|
||||
$('#error-area').show();
|
||||
$('#error-text').text("Cannot refresh API. Try again later.")
|
||||
$('#error-text').text("Cannot refresh API. Try again later. " + textStatus)
|
||||
$("#api-refresh").find('img').removeClass('glyphicon-spin');
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user