Fixes display issue with socket errors
This commit is contained in:
		
							parent
							
								
									22b0bbf6ce
								
							
						
					
					
						commit
						6289e7ae8d
					
				| @ -9,7 +9,7 @@ return [ | |||||||
|     */ |     */ | ||||||
| 
 | 
 | ||||||
|     'ajax' => [ |     'ajax' => [ | ||||||
|         'socket_error' => 'We were unable to connect to the main Socket.IO server, there may be network issues currently. <br /><br />If this is your first time seeing this message it may be because you need to accept this server\'s SSL certificate. Please click this notification and accept the certificate.', |         'socket_error' => 'We were unable to connect to the main Socket.IO server, there may be network issues currently. <br /><br />If this is your first time seeing this message it may be because you need to accept this servers SSL certificate. Please click this notification and accept the certificate.', | ||||||
|         'socket_status' => 'This server\'s power status has changed to', |         'socket_status' => 'This server\'s power status has changed to', | ||||||
|         'socket_status_crashed' => 'This server has been detected as CRASHED.', |         'socket_status_crashed' => 'This server has been detected as CRASHED.', | ||||||
|     ], |     ], | ||||||
|  | |||||||
| @ -49,7 +49,7 @@ | |||||||
|                             $('#applyUpdate').removeClass('fa-circle-o-notch fa-spinner fa-spin').addClass('fa-question-circle').css({ color: '#FF9900' }); |                             $('#applyUpdate').removeClass('fa-circle-o-notch fa-spinner fa-spin').addClass('fa-question-circle').css({ color: '#FF9900' }); | ||||||
|                             if(typeof notifySocketError !== 'object') { |                             if(typeof notifySocketError !== 'object') { | ||||||
|                                 notifySocketError = $.notify({ |                                 notifySocketError = $.notify({ | ||||||
|                                     message: '{{ trans('server.ajax.socket_error') }}', |                                     message: '{!! trans('server.ajax.socket_error') !!}', | ||||||
|                                     url: 'https://{{ $node->fqdn }}:{{ $node->daemonListen }}', |                                     url: 'https://{{ $node->fqdn }}:{{ $node->daemonListen }}', | ||||||
|                                     target: '_blank' |                                     target: '_blank' | ||||||
|                                 }, { |                                 }, { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Dane Everitt
						Dane Everitt