Created
March 7, 2012 15:35
-
-
Save SethWilson/1993830 to your computer and use it in GitHub Desktop.
Request Tracker: Complete as per Request
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function runthis() { | |
// Completed as per request bookmarklet | |
$('#status').val('9'); | |
$('select[name="resolution"]').val('10'); | |
$('#notification_all').click(); | |
$('textarea[name="reason"]').val('Complete as per request'); | |
$("form[name=close_form]").submit(); | |
} | |
if (typeof jQuery == 'undefined') { | |
var jQ = document.createElement('script'); | |
jQ.type = 'text/javascript'; | |
jQ.onload=runthis; | |
jQ.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js'; | |
document.body.appendChild(jQ); | |
} else { | |
runthis(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment