Kanboard-Prod/assets/js/src
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
..
App.js Add user backend provider system 2017-11-09 15:09:54 -08:00
BoardCollapsedMode.js Remove dependency on Mousetrap 2016-12-30 20:14:36 -05:00
BoardColumnView.js Properly resize task list height on column toggle #3069 2017-02-23 21:47:25 +09:00
BoardDragAndDrop.js Fix task drag and drop slowdown when a column is hidden 2018-09-28 19:18:18 -07:00
BoardHorizontalScrolling.js Remove dependency on Mousetrap 2016-12-30 20:14:36 -05:00
BoardPolling.js Move isVisible() method 2017-03-11 17:45:13 -05:00
Bootstrap.js Rewrite accordion widget in vanilla Javascript 2016-11-25 18:26:10 -05:00
Column.js Added Markdown editor and Javascript code refactoring 2016-03-20 15:45:02 -04:00
Dropdown.js Add autocomplete dropdown on comment subject and email fields 2017-06-03 17:51:20 -04:00
Namespace.js Add jshint 2016-11-25 18:51:22 -05:00
Search.js Refactoring/rewrite of modal boxes handling 2017-01-02 17:01:27 -05:00
Swimlane.js Added Markdown editor and Javascript code refactoring 2016-03-20 15:45:02 -04:00
Task.js Limit assignee drop-down selector scope 2018-12-20 13:57:43 +01:00