Dropdown menu entry are now clickable outside of the html link
This commit is contained in:
parent
37ef906998
commit
41ecb163ee
|
|
@ -13,6 +13,7 @@ New features:
|
|||
|
||||
Improvements:
|
||||
|
||||
* Dropdown menu entry are now clickable outside of the html link
|
||||
* Improve error handling of plugins
|
||||
* Use PHP7 function random_bytes() to generate tokens if available
|
||||
* CSV task export show the assignee name in addition to the assignee username
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
<!-- column in collapsed mode -->
|
||||
<div class="board-column-collapsed">
|
||||
<span title="<?= t('Task count') ?>" class="board-column-header-task-count" title="<?= t('Show this column') ?>">
|
||||
<span class="board-column-header-task-count" title="<?= t('Show this column') ?>">
|
||||
<span id="task-number-column-<?= $column['id'] ?>"><?= $column['nb_tasks'] ?></span>
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -31,6 +31,7 @@ ul.dropdown-submenu-open {
|
|||
padding-bottom: 8px;
|
||||
font-size: 0.85em;
|
||||
border-bottom: 1px solid #f8f8f8;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dropdown-submenu-open li:last-child {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -34,6 +34,12 @@ Dropdown.prototype.listen = function() {
|
|||
|
||||
clone.addClass('dropdown-submenu-open');
|
||||
});
|
||||
|
||||
$(document).on('click', '.dropdown-submenu-open li', function(e) {
|
||||
if ($(e.target).is('li')) {
|
||||
$(this).find('a:visible')[0].click(); // Calling native click() not the jQuery one
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Dropdown.prototype.close = function() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue