X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fprefs.js;h=cb5adf1b71874f20b2c5c2aff0f751d4626fae50;hb=d164503a6bb32c51354cc5ea4b82d74ad3783c69;hp=69eb9a8cbcc87c886f134ff70294b5a8ca14dd62;hpb=a78c0875b91a003fcc72054f8eb7986fbc2ef699;p=brisk.git diff --git a/web/prefs.js b/web/prefs.js index 69eb9a8..cb5adf1 100644 --- a/web/prefs.js +++ b/web/prefs.js @@ -35,6 +35,8 @@ function prefs_apply(prefs_new, is_update, is_volat) var i; var relo = false; + console.log('prefs_apply: begin'); + if (typeof(g_prefs) == 'undefined') return false; /* listen management */ @@ -65,7 +67,7 @@ function prefs_apply(prefs_new, is_update, is_volat) } if (relo || !is_update) { - for (i = g_tables_auth_n ; i < g_tables_n ; i++) { + for (i = g_tables_appr_n ; i < g_tables_n ; i++) { if (i % 4 == 0) { $('tr_noauth'+i).style.display = (prefs_new.listen == l_list_isol ? 'none' : ''); } @@ -79,9 +81,13 @@ function prefs_apply(prefs_new, is_update, is_volat) tra.show_noauth(); } - if (false) { + if (true) { // ricalculation of standup area + g_prefs.listen = prefs_new.listen; + + console.log('here we are'); if (standup_data_old != null) { + console.log('here we are2'); standup_data = standup_data_old; standup_data_old = null; j_stand_cont(standup_data);