Improve consistency of slider behavior after submitting form (#8612)

Closes https://github.com/FreshRSS/FreshRSS/issues/8529

* Preserve `error` parameter after submitting form in subscription management
This commit is contained in:
Inverle
2026-03-18 00:10:53 +01:00
committed by GitHub
parent aeb55693e4
commit 815b97017b
18 changed files with 169 additions and 88 deletions

View File

@@ -542,7 +542,7 @@ class FreshRSS_configure_Controller extends FreshRSS_ActionController {
Minz_Request::good(
_t('feedback.conf.updated'),
[ 'c' => 'configure', 'a' => 'queries', 'params' => ['id' => (string)$id] ],
[ 'c' => 'configure', 'a' => Minz_Request::paramStringNull('from') ?? 'queries', 'params' => ['id' => (string)$id] ],
showNotification: FreshRSS_Context::userConf()->good_notification_timeout > 0);
}