Skip to content

Instantly share code, notes, and snippets.

@carymrobbins
Last active January 3, 2016 07:09
Show Gist options
  • Save carymrobbins/8427644 to your computer and use it in GitHub Desktop.
Save carymrobbins/8427644 to your computer and use it in GitHub Desktop.
Redmine workflow - automatically check the boxes!
// Check box numbers, can be found in input class.
// e.g. <input class="new-status-21" />
[21,22,41,55,56,42,54].each(function(n) {
$$('.new-status-' + n).each(function(el) {
el.checked = true;
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment