Skip to content

Commit

Permalink
rename ds -> dataStatus for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
rmarianski committed Oct 25, 2012
1 parent 6644ab5 commit 4f22bb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions search/templates/detail.html
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -427,8 +427,8 @@ <h3>Add New Contact Record</h3>


$.getJSON(fetchUrl, function(data) { $.getJSON(fetchUrl, function(data) {


var ds = data['status']; var dataStatus = data['status'];
if (!ds) { if (!dataStatus) {
return; return;
} }
var extraDetailsContainer = $('#contact-extra-details').first(); var extraDetailsContainer = $('#contact-extra-details').first();
Expand All @@ -443,7 +443,7 @@ <h3>Add New Contact Record</h3>
var personDetails = $('#person-details'); var personDetails = $('#person-details');
personDetails.append(extraDetailsContainer); personDetails.append(extraDetailsContainer);


if (ds === 202 || ds === 500) { if (dataStatus === 202 || dataStatus === 500) {
extraDetailsContainer.append( extraDetailsContainer.append(
$('<p />').text( $('<p />').text(
'Supplemental data not available ... retrying in 30 seconds')); 'Supplemental data not available ... retrying in 30 seconds'));
Expand Down

0 comments on commit 4f22bb2

Please sign in to comment.