diff --git a/javascripts/theme.js b/javascripts/theme.js index 4606209..f715370 100644 --- a/javascripts/theme.js +++ b/javascripts/theme.js @@ -78,6 +78,9 @@ function sort_table() { } function alter_new_issue_page() { + // on global new issue page select "client" project by default + $('#issue_project_id option:contains("Projets Client")').next().attr('selected', 'selected') + // limit exclamation marks $('input#issue_subject').on('keypress', function(evt) { /* initial code from * https://stackoverflow.com/questions/3579219/show-different-keyboard-character-from-the-typed-one-in-google-chrome/3580352#3580352