|
73 | 73 |
|
74 | 74 | $('#titleLanguage', page).val(config.TitlePreference).change();
|
75 | 75 | $('#chkMaxGenres', page).val(config.MaxGenres).change();
|
76 |
| - $('#chkTidyGenres', page).checked(config.TidyGenreList).checkboxradio("refresh"); |
77 |
| - $('#chkAddAnimeGenre', page).checked(config.AddAnimeGenre).checkboxradio("refresh"); |
| 76 | + $('#chkTidyGenres', page).checked = config.TidyGenreList; |
| 77 | + $('#chkAddAnimeGenre', page).checked = config.AddAnimeGenre; |
78 | 78 | $('#chkAniDbWaitTime', page).val(config.AniDbWaitTime).change();
|
79 |
| - $('#chkAniDbOrderWithSeasons', page).checked(config.AniDbOrderWithSeasons).checkboxradio("refresh"); |
80 |
| - $('#chkAniDbReplaceGraves', page).checked(config.AniDbReplaceGraves).checkboxradio("refresh"); |
| 79 | + $('#chkAniDbOrderWithSeasons', page).checked = config.AniDbOrderWithSeasons; |
| 80 | + $('#chkAniDbReplaceGraves', page).checked = config.AniDbReplaceGraves; |
81 | 81 |
|
82 | 82 | Dashboard.hideLoadingMsg();
|
83 | 83 | });
|
|
91 | 91 |
|
92 | 92 | config.TitlePreference = $('#titleLanguage', page).val();
|
93 | 93 | config.MaxGenres = $('#chkMaxGenres').val();
|
94 |
| - config.TidyGenreList = $('#chkTidyGenres').prop('checked'); |
95 |
| - config.AddAnimeGenre = $('#chkAddAnimeGenre').prop('checked'); |
| 94 | + config.TidyGenreList = $('#chkTidyGenres').checked; |
| 95 | + config.AddAnimeGenre = $('#chkAddAnimeGenre').checked; |
96 | 96 | config.AniDbWaitTime = $('#chkAniDbWaitTime').val();
|
97 |
| - config.AniDbOrderWithSeasons = $('#chkAniDbOrderWithSeasons').prop('checked'); |
98 |
| - config.AniDbReplaceGraves = $('#chkAniDbReplaceGraves').prop('checked'); |
| 97 | + config.AniDbOrderWithSeasons = $('#chkAniDbOrderWithSeasons').checked; |
| 98 | + config.AniDbReplaceGraves = $('#chkAniDbReplaceGraves').checked; |
99 | 99 |
|
100 | 100 | ApiClient.updatePluginConfiguration(AnimeConfigurationPage.pluginUniqueId, config).then(function (result) {
|
101 | 101 | Dashboard.processPluginConfigurationUpdateResult(result);
|
|
0 commit comments