Do not force redirect when clicking on task board link
This commit is contained in:
parent
312dfbb89e
commit
b944b44dca
|
|
@ -17,9 +17,7 @@
|
|||
<?= $this->e($this->user->getInitials($task['assignee_name'] ?: $task['assignee_username'])) ?>
|
||||
</span> -
|
||||
<?php endif ?>
|
||||
<span class="tooltip" title="<?= $this->e($task['title']) ?>"
|
||||
<?= $this->url->link($this->e($task['title']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'task-board-collapsed-title') ?>
|
||||
</span>
|
||||
<?= $this->url->link($this->e($task['title']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'task-board-collapsed-title tooltip', $this->e($task['title'])) ?>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div class="task-board-expanded">
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -12,7 +12,7 @@ ul.dropdown-submenu-open {
|
|||
position: absolute;
|
||||
left: 0;
|
||||
z-index: 1000;
|
||||
min-width: 300px;
|
||||
min-width: 280px;
|
||||
list-style: none;
|
||||
margin: 3px 0 0 1px;
|
||||
padding: 6px 0;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -100,7 +100,7 @@ Board.prototype.resizeColumnHeight = function() {
|
|||
$(this).height(500);
|
||||
}
|
||||
else {
|
||||
$(this).css("min-height", 100);
|
||||
$(this).css("min-height", 320); // Min height is the height of the menu dropdown
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -135,8 +135,10 @@ Board.prototype.dragAndDrop = function() {
|
|||
Board.prototype.listen = function() {
|
||||
var self = this;
|
||||
|
||||
$(document).on("click", ".task-board", function() {
|
||||
window.location = $(this).data("task-url");
|
||||
$(document).on("click", ".task-board", function(e) {
|
||||
if (e.target.tagName != "A") {
|
||||
window.location = $(this).data("task-url");
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('click', ".filter-toggle-scrolling", function(e) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue