Properly display node status with newer daemon versions

This commit is contained in:
Dane Everitt 2016-11-26 17:49:56 -05:00
parent 1ad715f1a3
commit d93f88f471
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53
1 changed files with 3 additions and 0 deletions

View File

@ -78,6 +78,9 @@ function pingNodes() {
$.ajax({
type: 'GET',
url: $(element).data('location'),
headers: {
'X-Access-Token': '{{ $node->daemonSecret }}'
},
timeout: 5000
}).done(function (data) {
$(element).removeClass('text-muted').find('i').removeClass().addClass('fa fa-fw fa-heartbeat faa-pulse animated').css('color', '#50af51');