diff options
Diffstat (limited to 'lib/core-extensions')
| -rw-r--r-- | lib/core-extensions/UserCSS/configure.phtml | 2 | ||||
| -rw-r--r-- | lib/core-extensions/UserJS/configure.phtml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/core-extensions/UserCSS/configure.phtml b/lib/core-extensions/UserCSS/configure.phtml index 22d4ea79a..49f3c2f82 100644 --- a/lib/core-extensions/UserCSS/configure.phtml +++ b/lib/core-extensions/UserCSS/configure.phtml @@ -2,7 +2,7 @@ declare(strict_types=1); /** @var UserCSSExtension $this */ ?> -<form action="<?= _url('extension', 'configure', 'e', urlencode($this->getName())); ?>" method="post"> +<form action="<?= _url('extension', 'configure', 'e', urlencode($this->getName())); ?>" method="post" data-auto-leave-validation="1"> <input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" /> <div class="form-group"> <label class="group-name" for="css-rules"><?= _t('ext.user_css.write_css') ?></label> diff --git a/lib/core-extensions/UserJS/configure.phtml b/lib/core-extensions/UserJS/configure.phtml index 88172679d..e9e853e4e 100644 --- a/lib/core-extensions/UserJS/configure.phtml +++ b/lib/core-extensions/UserJS/configure.phtml @@ -2,7 +2,7 @@ declare(strict_types=1); /** @var UserJSExtension $this */ ?> -<form action="<?= _url('extension', 'configure', 'e', urlencode($this->getName())) ?>" method="post"> +<form action="<?= _url('extension', 'configure', 'e', urlencode($this->getName())) ?>" method="post" data-auto-leave-validation="1"> <input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" /> <div class="form-group"> <label class="group-name" for="js-rules"><?= _t('ext.user_js.write_js') ?></label> |
