Skip to content

Commit

Permalink
pkp#4787 missing comma and semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
touhidurabir committed Dec 2, 2024
1 parent c6b28a1 commit 976368b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions js/controllers/grid/users/reviewer/AdvancedReviewerSearchHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,25 @@
this.parent($container, options);

$container.find('.button').button();
var self = this;
let self = this;

pkp.eventBus.$on('selected:reviewer', function (reviewer) {
self.handleReviewerAssign_($container, options, reviewer)
});
pkp.eventBus.$on('selected:reviewer', function (reviewer) {
self.handleReviewerAssign_($container, options, reviewer);
});

$('#regularReviewerForm').hide();
$('#regularReviewerForm').hide();

this.bind('refreshForm', this.handleRefresh_);
this.bind('refreshForm', this.handleRefresh_);

// TODO : Not Working as intended to
// we can get the editor but there is a flicker and content set to editor and then reset
if ($container.find('input#reviewerId').val()) {
this.initializeTinyMCE();
this.handleReviewerAssign_($container, options, {
id: $container.find('input#reviewerId').val(),
fullName: 'some name',
});
}
this.initializeTinyMCE();
this.handleReviewerAssign_($container, options, {
id: $container.find('input#reviewerId').val(),
fullName: 'some name'
});
}
};

$.pkp.classes.Helper.inherits(
Expand Down

0 comments on commit 976368b

Please sign in to comment.