Kanboard-Prod/assets/js
Miodrag Tokić eccfff451a Limit assignee drop-down selector scope
On the task details page "Add a sub-task" pop-up modal contains
drop-down (the SELECT HTML element) with "form-user_id" as the `name`
and the `id` attribute value. This element is in conflict with another,
hidden INPUT element with the same `name` and the `id` value. This
causes an issue where clicking the "Me" (Assignee) link / shortcut (A)
element doesn't select your name in the Assignee SELECT element.

Avoiding conflict by changing the SELECT element `id` value is not
possible as the SELECT element is generated using `FormHelper::select()`
function which uses the same value for attribute `name` and `id`.

Given the assignee shortcut feature is used only in two places: edit
task and edit sub-task dialog, the simplest solution is to select the
closest SELECT element to the link / shortcut (A) element or limit the
scope to the currently opened dialog.

This fix uses the latter approach by limiting the scope of targeted
selector.
2018-12-20 13:57:43 +01:00
..
components Revert "Easier closing of dialogs" (introduces regression on date time picker) 2018-10-23 15:12:44 -07:00
core Revert "Easier closing of dialogs" (introduces regression on date time picker) 2018-10-23 15:12:44 -07:00
polyfills Remove dependency on Mousetrap 2016-12-30 20:14:36 -05:00
src Limit assignee drop-down selector scope 2018-12-20 13:57:43 +01:00
app.min.js Limit assignee drop-down selector scope 2018-12-20 13:57:43 +01:00
vendor.min.js Revert "Easier closing of dialogs" (introduces regression on date time picker) 2018-10-23 15:12:44 -07:00