Do not force redirect when clicking on task board link
This commit is contained in:
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) {
|
||||
|
||||
Reference in New Issue
Block a user