-
Bug
-
Resolution: Timed out
-
Low (View bug fix roadmap)
-
None
-
5.0
-
5
-
Severity 3 - Minor
-
-
In AssigneePicker.js it looks like the url function is recalculating the assigneeEditIssueKey value on every AJAX request:
//reset the assigneeEditIssueKey param, so that when we go from an quickedit dialog to a quick create dialog for //example the value isn't set! AJS.params.assigneeEditIssueKey = undefined; AJS.populateParameters();
This should only need to be done when the control is initialized, so it could move out to the AssigneePicker's init method.
However, if a param is being set per-control and not per-page it indicated that the data should be attached to the control and not use AJS.params. I'd recommend adding a data-issue-key attribute to the assignee field's <select> element via a single-element Map passed from the assigneeField.soy template to the singleUserPicker.soy template.
That way you could have two of these fields on the same screen and not have them clash with one another. Frother knows what I'm talking about : )
- copied from
-
JRADEV-8102 Failed to load
Form Name |
---|