Display slider after submit for all buttons in feed/update.phtml (#8999)

Slight improvement of https://github.com/FreshRSS/FreshRSS/pull/8612
This commit is contained in:
Inverle
2026-07-11 17:04:12 +02:00
committed by GitHub
parent ad78838ffc
commit 0f0b696cdf
2 changed files with 13 additions and 9 deletions

View File

@@ -1013,7 +1013,7 @@ class FreshRSS_feed_Controller extends FreshRSS_ActionController {
// Redirect to the main page with correct notification.
Minz_Request::good(
_t('feedback.sub.feed.actualized', $feed->name()),
['params' => ['get' => 'f_' . $id]],
['params' => ['get' => 'f_' . $id, 'id' => $id]],
notificationName: 'actualizeAction',
showNotification: FreshRSS_Context::userConf()->good_notification_timeout > 0);
} elseif ($nbUpdatedFeeds >= 1) {
@@ -1192,7 +1192,7 @@ class FreshRSS_feed_Controller extends FreshRSS_ActionController {
Minz_Request::good(
_t('feedback.sub.feed.cache_cleared', $feed->name()),
['params' => ['get' => 'f_' . $feed->id()]],
['params' => ['get' => 'f_' . $feed->id(), 'id' => $feed->id()]],
showNotification: FreshRSS_Context::userConf()->good_notification_timeout > 0
);
}
@@ -1258,7 +1258,7 @@ class FreshRSS_feed_Controller extends FreshRSS_ActionController {
//Give feedback to user.
Minz_Request::good(
_t('feedback.sub.feed.reloaded', $feed->name()),
['params' => ['get' => 'f_' . $feed->id()]],
['params' => ['get' => 'f_' . $feed->id(), 'id' => $feed->id()]],
showNotification: FreshRSS_Context::userConf()->good_notification_timeout > 0
);
}