first commit
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
/**
|
||||
* @defgroup js_pages_authorDashboard
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @file js/pages/authorDashboard/SubmissionEmailHandler.js
|
||||
*
|
||||
* Copyright (c) 2014-2021 Simon Fraser University
|
||||
* Copyright (c) 2000-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* @class SubmissionEmailHandler
|
||||
* @ingroup js_pages_authorDashboard
|
||||
*
|
||||
* @brief Handler for reading monograph emails within the author dashboard.
|
||||
*/
|
||||
(function($) {
|
||||
|
||||
/** @type {Object} */
|
||||
$.pkp.pages.authorDashboard = $.pkp.pages.authorDashboard || {};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
*
|
||||
* @extends $.pkp.controllers.linkAction.LinkActionHandler
|
||||
*
|
||||
* @param {jQueryObject} $submissionEmailContainer The container for
|
||||
* the monograph email link.
|
||||
* @param {Object} options Handler options.
|
||||
*/
|
||||
$.pkp.pages.authorDashboard.SubmissionEmailHandler =
|
||||
function($submissionEmailContainer, options) {
|
||||
|
||||
this.parent($submissionEmailContainer, options);
|
||||
|
||||
$submissionEmailContainer.find('a[id^="submissionEmail"]').click(
|
||||
this.callbackWrapper(this.activateAction));
|
||||
};
|
||||
$.pkp.classes.Helper.inherits(
|
||||
$.pkp.pages.authorDashboard.SubmissionEmailHandler,
|
||||
$.pkp.controllers.linkAction.LinkActionHandler);
|
||||
|
||||
|
||||
}(jQuery));
|
||||
Reference in New Issue
Block a user