OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Reviewer Decision confirmation control - version 1.x!

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Reviewer Decision confirmation control - version 1.x!

Postby ramon » Thu Nov 17, 2005 6:57 am

Dear OJSers,

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...
ramon
 
Posts: 929
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Return to OJS Technical Support

Who is online

Users browsing this forum: Google [Bot] and 6 guests