www/js/client.js
// Re-/Load settings from localStorage.
Re-/Load settings from localStorage.
Re - / Load settings from localStorage .
function loadSettings() {
  macros.reloadSettings();
  var localEchoSetting = localStorage.getItem('Client.Setting.LocalEcho');
  if (localEchoSetting) {
    localEcho = JSON.parse(localEchoSetting);
  } else {
    localEcho = false;
  }
  $('button#localecho').html('Local Echo: ' + (localEcho==true ? 'an' : 'aus') + '');
}
function loadSettings ( ) { macros . reloadSettings ( ) ; var localEchoSetting = localStorage . getItem ( 'Client.Setting.LocalEcho' ) ; if ( localEchoSetting ) { localEcho = JSON . parse ( localEchoSetting ) ; } else { localEcho = false ; } $ ( 'button#localecho' ) . html ( 'Local Echo: ' + ( localEcho == true ? 'an' : 'aus' ) + '' ) ; }
Re-/Load settings from localStorage.
Re - / Load settings from localStorage .
// Macro Processor re-/load // Re-/load other client settings. // Refresh UI