select client project by default when creating a new issue (#31500)

This commit is contained in:
Frédéric Péters 2019-07-06 09:42:32 +02:00
parent 8a2a07b8c2
commit 536f84874f
1 changed files with 3 additions and 0 deletions

View File

@ -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