diff options
| author | 2016-10-29 13:11:37 +0200 | |
|---|---|---|
| committer | 2016-10-29 13:11:37 +0200 | |
| commit | 00f446d1557165cba90d0d3ec17404d3fdce84cd (patch) | |
| tree | 4ec6a8553f12226da35418467a9a4fa0a627e5ec /app/layout/nav_menu.phtml | |
| parent | a7301a43faeb391138478cb462493c3e025296ea (diff) | |
Disable "mark all as read" before confirmation script is loaded
https://github.com/FreshRSS/FreshRSS/issues/1342
Diffstat (limited to 'app/layout/nav_menu.phtml')
| -rw-r--r-- | app/layout/nav_menu.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/layout/nav_menu.phtml b/app/layout/nav_menu.phtml index c02232242..f6d824d55 100644 --- a/app/layout/nav_menu.phtml +++ b/app/layout/nav_menu.phtml @@ -83,7 +83,7 @@ <div class="stick" id="nav_menu_read_all"> <form id="mark-read-menu" method="post"> - <?php $confirm = FreshRSS_Context::$user_conf->reading_confirm ? 'confirm' : ''; ?> + <?php $confirm = FreshRSS_Context::$user_conf->reading_confirm ? 'confirm" disabled="disabled' : ''; ?> <button class="read_all btn <?php echo $confirm; ?>" form="mark-read-menu" formaction="<?php echo Minz_Url::display($mark_read_url); ?>" |
