elizuck/circulate — pull request #200 by apricated (2013-08-21 22:22:12+00:00)
Title: BUG FIX / WORKAROUND

Affected pages:
-viewCircs.php
-viewSubs.php
-sections.php

Chrome's JS console throws error on notifArticle.php call from notif modal: "Uncaught ReferenceError: applyArticleHoverOptions is not defined."
This also trips up the notifModal.js functions, which causes the 'loading' DIV to be displayed perpetually.

The file defining the function (siteListenerFunc.js) isn't being loaded on those pages.

Loading js/siteListenerFunc.js into viewAllNotifs.php fixes the issue.

(GENERAL NOTE: It isn't safe to assume that viewCircs.php, viewSubs.php, and sections.php don't also require, at least partially, expModal's dependencies for displaying and commenting on articles.)