Created
August 1, 2011 10:41
-
-
Save falsefalse/1117913 to your computer and use it in GitHub Desktop.
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
// swap name and last name in JIRA | |
// that way is convenient to find people as you type | |
Array.prototype.forEach.call($('#assignee option[value!=-1]'), function(o) { | |
var t = o.innerText; | |
o.innerText = t.split(' ').reverse().join(' '); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment