From: Matteo Nastasi Date: Fri, 17 Apr 2020 19:25:47 +0000 (+0200) Subject: dev commit X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=brisk.git;a=commitdiff_plain;h=42e0c21312ba187cbc966ade7581bffff1f12161 dev commit --- diff --git a/web/prefs.js b/web/prefs.js index cb5adf1..415bdc6 100644 --- a/web/prefs.js +++ b/web/prefs.js @@ -5,6 +5,7 @@ var l_prefs_list_idx = new Array( 0x00, 0x01, 0x02 ); var l_prefs_list_id = new Array( "all", "auth", "isol" ); var l_comps_name = new Array('s_fg_r', 's_fg_g', 's_fg_b', 's_bg_r', 's_bg_g', 's_bg_b'); +var standup_data_notisol = null; function client_prefs(old) { @@ -81,6 +82,18 @@ function prefs_apply(prefs_new, is_update, is_volat) tra.show_noauth(); } + if (prefs.listen != l_list_isol && prefs_new.listen == l_list_isol) { + if (standup_data_old != null) { + standup_data_notisol = standup_data_old.slice(); + } + } + else if (prefs.listen == l_list_isol && prefs_new.listen != l_list_isol) { + if (standup_data_notisol != null) { + standup_data_old = standup_data_notisol; + standup_data_notisol = null; + } + } + if (true) { // ricalculation of standup area g_prefs.listen = prefs_new.listen;