Fix socket.io error

We no longer support self-signed certs, so if we cant connect 99%
chance the daemon is off.
This commit is contained in:
Dane Everitt 2016-01-05 01:19:59 -05:00
parent e552b788b4
commit 52a2f2e2ae
3 changed files with 2 additions and 5 deletions

View file

@ -49,9 +49,7 @@
$('#applyUpdate').removeClass('fa-circle-o-notch fa-spinner fa-spin').addClass('fa-question-circle').css({ color: '#FF9900' });
if(typeof notifySocketError !== 'object') {
notifySocketError = $.notify({
message: '{!! trans('server.ajax.socket_error') !!}',
url: 'https://{{ $node->fqdn }}:{{ $node->daemonListen }}',
target: '_blank'
message: '{!! trans('server.ajax.socket_error') !!}'
}, {
type: 'danger',
delay: 0