Skip to content

Commit

Permalink
Fix the VentoyPlugson issue that default_file value is wrong for more…
Browse files Browse the repository at this point in the history
… than 10 theme files. (#2608)
  • Loading branch information
ventoy committed Oct 14, 2023
1 parent 854d17a commit 39703ca
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Plugson/www/buildtime
@@ -1 +1 @@
20231003 23:36:44
20231014 18:52:12
2 changes: 1 addition & 1 deletion Plugson/www/helplist
@@ -1 +1 @@
ar_ARbn_BNcs_CZde_DEel_GRen_USes_ESfr_FRhi_HIhr_HRhu_HUid_IDja_JPka_GEko_KRpl_PLpt_BRpt_PTru_RUsr_RSta_INtr_TRuk_UAzh_CNzh_TW
ar_ARbn_BNcs_CZde_DEel_GRen_USes_ESfr_FRhi_HIhr_HRhu_HUid_IDit_ITja_JPka_GEko_KRpl_PLpt_BRpt_PTru_RUsr_RSta_INtr_TRuk_UAzh_CNzh_TW
8 changes: 4 additions & 4 deletions Plugson/www/index.html
Expand Up @@ -757,7 +757,7 @@ <h4>

<footer class="main-footer">
<div class="pull-right hidden-xs">
<b id="plugson_build_date">20231003 23:36:44</b>
<b id="plugson_build_date">20231014 18:52:12</b>
</div>
<strong><a href="https://www.ventoy.net" target="_blank">https://www.ventoy.net</a></strong>
</footer>
Expand All @@ -777,10 +777,10 @@ <h4>
<script src="/static/js/jQuery-2.1.4.min.js"></script>
<!-- jquery validate -->
<script src="/static/js/jquery.validate.min.js"></script>
<script src="/static/js/jquery.validate.vtoymethods.js?v=189"></script>
<script src="/static/js/jquery.validate.vtoymethods.js?v=192"></script>

<script src="/static/js/jquery.vtoy.alert.js?v=189"></script>
<script src="/static/js/vtoy.js?v=189"></script>
<script src="/static/js/jquery.vtoy.alert.js?v=192"></script>
<script src="/static/js/vtoy.js?v=192"></script>
<script src="/static/js/md5.min.js"></script>

<!-- Bootstrap 3.3.5 -->
Expand Down
2 changes: 1 addition & 1 deletion Plugson/www/menulist
@@ -1 +1 @@
ar_ARbn_BNcs_CZde_DEel_GRen_USes_ESfr_FRhi_HIhr_HRhu_HUid_IDja_JPka_GEko_KRpl_PLpt_BRpt_PTru_RUsl_sisr_RSta_INtr_TRuk_UAzh_CNzh_TW
ar_ARbn_BNcs_CZde_DEel_GRen_USes_ESfr_FRhi_HIhr_HRhu_HUid_IDit_ITja_JPka_GEko_KRpl_PLpt_BRpt_PTru_RUsl_sisr_RSta_INtr_TRuk_UAzh_CNzh_TW
7 changes: 6 additions & 1 deletion Plugson/www/plugson_theme.html
Expand Up @@ -357,7 +357,12 @@ <h3 class="box-title" style="font-size: 14px;font-weight: bold;">fonts
var id = $(this).attr('id');
if (typeof(id) != 'undefined' && id.startsWith('id_theme_file')) {
$(this).change(function() {
m_data_theme[current_tab_index].default_file =parseInt(id.substr(id.length - 1));
var prelen = 'id_theme_file_radio'.length;
m_data_theme[current_tab_index].default_file = parseInt(id.substr(id.length - 1));
if (id.substr(0, prelen) === 'id_theme_file_radio') {
m_data_theme[current_tab_index].default_file = parseInt(id.substr(prelen));
}

VtoySaveCurrentPage();
});
}
Expand Down

0 comments on commit 39703ca

Please sign in to comment.