mirror of
https://github.com/operasoftware/ssh-key-authority.git
synced 2025-12-30 17:30:23 -06:00
Fix strict mode JS error breaking sync status update
This commit is contained in:
@@ -362,6 +362,7 @@ $(function() {
|
||||
setTimeout(get_server_account_sync_status, timeout);
|
||||
} else {
|
||||
var classname;
|
||||
var message;
|
||||
if(status.sync_status == 'sync success') { classname = 'success'; message = 'Synced'; }
|
||||
if(status.sync_status == 'sync failure') { classname = 'danger'; message = 'Failed'; }
|
||||
if(status.sync_status == 'sync warning') { classname = 'warning'; message = 'Not synced'; }
|
||||
|
||||
Reference in New Issue
Block a user