355 issue.resolved = path.versionInfo.elem |
355 issue.resolved = path.versionInfo.elem |
356 } |
356 } |
357 } |
357 } |
358 } |
358 } |
359 |
359 |
|
360 // test if we are multi-creating issues |
|
361 if (http.param("more") != null) { |
|
362 http.request.setAttribute("more", true) |
|
363 } |
|
364 |
360 with(http) { |
365 with(http) { |
361 view = IssueEditView( |
366 view = IssueEditView( |
362 issue, |
367 issue, |
363 path.projectInfo.versions, |
368 path.projectInfo.versions, |
364 path.projectInfo.components, |
369 path.projectInfo.components, |
400 processIssueForm(issue, reference, http, dao) |
405 processIssueForm(issue, reference, http, dao) |
401 issue.id |
406 issue.id |
402 } |
407 } |
403 |
408 |
404 if (http.param("more") != null) { |
409 if (http.param("more") != null) { |
405 http.request.setAttribute("more", true) |
410 http.renderCommit("${issuesHref}-/create?more=true") |
406 http.renderCommit("${issuesHref}-/create") |
|
407 } else if (http.param("save") != null) { |
411 } else if (http.param("save") != null) { |
408 http.renderCommit("${issuesHref}${openId}") |
412 http.renderCommit("${issuesHref}${openId}") |
409 } else { |
413 } else { |
410 http.renderCommit(issuesHref) |
414 http.renderCommit(issuesHref) |
411 } |
415 } |