File tree Expand file tree Collapse file tree 2 files changed +12
-15
lines changed
Expand file tree Collapse file tree 2 files changed +12
-15
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1212
1313$ addon = rex_addon::get ('maintenance ' );
1414
15- // Load page-specific assets
16- rex_view::addJsFile ($ addon ->getAssetsUrl ('js/domains.js ' ));
17-
1815// Wenn YRewrite nicht installiert oder verfügbar ist, Hinweis anzeigen
1916if (!rex_addon::exists ('yrewrite ' ) || !rex_addon::get ('yrewrite ' )->isAvailable ()) {
2017 echo rex_view::info ($ addon ->i18n ('maintenance_yrewrite_not_available ' ));
122119 <?php include __DIR__ . '/frontend.sidebar.php ' ?>
123120 </div>
124121</div>
122+
123+ <script nonce="<?= rex_response::getNonce () ?> ">
124+ $(document).on('rex:ready', function() {
125+ $('#all-domains-locked').on('change', function() {
126+ if ($(this).val() == '1') {
127+ $('#individual-domains').slideUp();
128+ } else {
129+ $('#individual-domains').slideDown();
130+ }
131+ });
132+ });
133+ </script>
You can’t perform that action at this time.
0 commit comments