Files
OSJ/lib/pkp/js/controllers/grid/files/review/AuthorReviewRevisionsGridHandler.js
CHIEFSOFT\ameye df3a033196 first commit
2024-06-08 17:09:23 -04:00

44 lines
1.1 KiB
JavaScript

/**
* @file js/controllers/grid/files/review/AuthorReviewRevisionsGridHandler.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 AuthorReviewRevisionsGridHandler
* @ingroup js_controllers_grid
*
* @brief Author revisions grid handler.
*/
(function($) {
/**
* Define the namespace
*/
$.pkp.controllers.grid.files = $.pkp.controllers.grid.files ||
{ review: {} };
/**
* @constructor
*
* @extends $.pkp.controllers.grid.GridHandler
*
* @param {jQueryObject} $grid The grid this handler is
* attached to.
* @param {Object} options Grid handler configuration.
*/
$.pkp.controllers.grid.files.review.AuthorReviewRevisionsGridHandler = function(
$grid, options) {
this.parent($grid, options);
this.bindGlobal('refreshRevisionsGrid', function() {
this.refreshGridHandler();
});
};
$.pkp.classes.Helper.inherits($.pkp.controllers.grid.files.review.
AuthorReviewRevisionsGridHandler, $.pkp.controllers.grid.GridHandler);
}(jQuery));