diaspora/app/assets/javascripts/widgets
Srihari Sriraman 0bcc62f07f Disable 'Mark all as read' for notifications when everything is read
- This action needn't be performed when all notifications are read,
  hence disabling it is a good practice
- Added a link-disabled-color
- Used css pointer-events to disable clicking on the link

Preventing default on click for the mark_all_read_link

- avoiding the use of pointer-events
- setting up disabled only for mark_all_read_link

Moved disabling of the link to a global handler

- Added disabled class to the button in /notifications when all are read
- Styled the disabled button
- Adding disabled class after completion of ajaxRequest
2013-08-29 12:12:26 +02:00
..
back-to-top.js use back-to-top initializer, fixes #2840 2012-05-02 00:03:07 +02:00
direction-detector.js Move Javascript to the asset pipeline 2012-03-27 18:07:44 -07:00
flash-messages.js another attempt at stabilizing features/signs_up.feature 2013-08-04 17:01:12 +02:00
header.js Move Javascript to the asset pipeline 2012-03-27 18:07:44 -07:00
infinite-scroll.js Fix wrong message on infinite scroll on contact page 2013-01-31 23:09:51 -03:00
lightbox.js Change image to ajax-loader when closing lightbox 2013-08-02 14:46:15 +02:00
notifications-badge.js Move Javascript to the asset pipeline 2012-03-27 18:07:44 -07:00
notifications.js Disable 'Mark all as read' for notifications when everything is read 2013-08-29 12:12:26 +02:00
search.js Fixed global search field, will search when a dropdown item is clicked 2013-08-10 19:59:05 +02:00
stream.js Move Javascript to the asset pipeline 2012-03-27 18:07:44 -07:00
timeago.js Move Javascript to the asset pipeline 2012-03-27 18:07:44 -07:00