Created
October 6, 2014 13:15
-
-
Save svoboda-jan/cd309fac8d29ba5effd6 to your computer and use it in GitHub Desktop.
JavaScript bookmarklet for Easy Redmine
This file contains hidden or 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
// generates link to new issue form with prefilled values | |
// save the following code(single line) as bookmark | |
// use on new issue form to generate link | |
javascript:try{$('textarea[id=issue_description]').val(CKEDITOR.instances["issue_description"].getData());}catch(e){}s=$.param($('#issue-form *[name!=authenticity_token]').serializeArray());alert(location.href+"?"+s); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment