Some reviewers do not read what they are doing, and confirming the first decision option (which is Accept), sending the email, and then, later on, whishing to change that decision.
I have created a little script in the submit button that shows the value selected to the Reviewer. If he accepts the value, the email form is opened, else, it returns to the confirmation form.
A simple feedback to the those not so attentive...
Change ojs/admin/include/table2.php, near line 240:
Here's the code
- Code: Select all
[b]Replace or comment the line starting with the minus sign'-'[/b]
- echo "<input type=\"button\" class=\"button\" value=\""._tr('SUBMIT_REVIEW')."\" onClick=\"return(openMailPopup('../include/sendemail.php?emailid=6&articleid=$id&revid=$roleid&toeditor=true', 'true'))\"" . ($row["dtDateConfirmedDeclined"] == "" ? " disabled=\"disabled\"" : "") . " />";
[b]with this line starting from the plus sign '+' (do not type in the signs...!) [/b]
+?>
<input type ="button" class="button" value="<? echo _tr('SUBMIT_REVIEW'); ?>" onClick="var theValue = document.theform.nRecommendation.options[document.theform.nRecommendation['selectedIndex']]; if( confirm ('<? echo _tr('DEFAULT_STANDARD_EMAIL_SUBJECT_3'); ?>\n<? echo _tr('DECISION') ;?>: '+theValue.text) == true) return (openMailPopup('../include/sendemail.php?emailid=6&articleid=$id&revid=$roleid&toeditor=true', 'true'));" <? echo ($row["dtDateConfirmedDeclined"] == '' ? 'disabled="disabled"' : '') ?> />
<?
No new variables created, and may be included (if not already) to version 2.x in many ways...
