Add a confirmation dialog when clicking on the big tick

See #519
Before, when clicking on the big tick to mark all articles as read, it triggers directly the action.
Now, it asks for a confirmation to block unwanted user clicks.
pull/531/head
Alexis Degrugillier 10 years ago
parent cdc8262c93
commit 41c2966543
  1. 2
      app/views/helpers/pagination.phtml

@ -12,7 +12,7 @@
<?php $params['next'] = $this->nextId; ?>
<a id="load_more" href="<?php echo Minz_Url::display (array ('c' => $c, 'a' => $a, 'params' => $params)); ?>"><?php echo Minz_Translate::t ('load_more'); ?></a>
<?php } elseif ($markReadUrl) { ?>
<a id="bigMarkAsRead" href="<?php echo $markReadUrl; ?>">
<a id="bigMarkAsRead" href="<?php echo $markReadUrl; ?>" class="confirm">
<?php echo Minz_Translate::t ('nothing_to_load'); ?><br />
<span class="bigTick"></span><br />
<?php echo Minz_Translate::t ('mark_all_read'); ?>

Loading…
Cancel
Save