aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-09-24 14:14:33 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-09-24 14:14:33 +0200
commite6a25f78f5abaea4dc0bfeba2bbb0a90119c624b (patch)
treef526327ec220ee0e1b98ace0d15783c6c862fada /app/views
parentbcb1e3750a9eee51070d602cc77def06f7f071c9 (diff)
Fix bug mark as read a complete feed
Related to https://github.com/marienfressinaud/FreshRSS/issues/599 Fix https://github.com/marienfressinaud/FreshRSS/issues/633
Diffstat (limited to 'app/views')
-rwxr-xr-xapp/views/helpers/pagination.phtml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/helpers/pagination.phtml b/app/views/helpers/pagination.phtml
index 1b15cc632..cea338364 100755
--- a/app/views/helpers/pagination.phtml
+++ b/app/views/helpers/pagination.phtml
@@ -6,6 +6,8 @@
Minz_Session::_param('markReadUrl', false);
?>
+<form id="mark-read-pagination" method="post" style="display: none"></form>
+
<ul class="pagination">
<li class="item pager-next">
<?php if (!empty($this->nextId)) { ?>
@@ -19,7 +21,7 @@
<?php } elseif ($markReadUrl) { ?>
<button id="bigMarkAsRead"
class="as-link <?php echo $this->conf->reading_confirm ? 'confirm' : ''; ?>"
- form="mark-read"
+ form="mark-read-pagination"
formaction="<?php echo $markReadUrl; ?>"
type="submit">
<?php echo _t('nothing_to_load'); ?><br />