X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/c57717aea24be2ff4ed8c9b095ae74f3a3220de1..261ddcef45ede2f9440342a5b3dd474e26df1679:/Plugson/www/index.html diff --git a/Plugson/www/index.html b/Plugson/www/index.html index 9037a94..b0cdca8 100644 --- a/Plugson/www/index.html +++ b/Plugson/www/index.html @@ -723,7 +723,7 @@ @@ -743,10 +743,10 @@ - + - - + + @@ -818,11 +818,6 @@ (function ventoy_handshake() { - - if (m_syntax_error === 1) { - - } - callVtoyCatchErr({ method : 'handshake' }, @@ -844,6 +839,13 @@ m_invalid_config = 0; } + if (data.save_error === 1) { + var title = g_current_language == 'en' ? g_vtoy_cur_language_en.STR_INFO : g_vtoy_cur_language_cn.STR_INFO; + var msg = g_current_language == 'en' ? g_vtoy_cur_language_en.STR_CONFIG_SAVE_ERROR_TIP : g_vtoy_cur_language_cn.STR_CONFIG_SAVE_ERROR_TIP; + Modal.alert({title:title,msg:msg}).on(function(e) { + }); + } + setTimeout(function() { ventoy_handshake(); }, 1000);