From 4b53a604b82b879cfd657d59a96f067a93e5fa10 Mon Sep 17 00:00:00 2001 From: Catouse Date: Thu, 21 Nov 2019 15:19:18 +0800 Subject: [PATCH] * task #6530, bug #2782. --- module/project/js/kanban.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/module/project/js/kanban.js b/module/project/js/kanban.js index 5db63f6171..001ec4c5df 100644 --- a/module/project/js/kanban.js +++ b/module/project/js/kanban.js @@ -102,7 +102,7 @@ $(function() }; window.refreshKanban = refresh; - var kanbanModalTrigger = new $.zui.ModalTrigger({type: 'iframe', width:800}); + var kanbanModalTrigger = new $.zui.ModalTrigger({type: 'iframe', width: 800}); var dropTo = function(id, from, to, type) { if(statusMap[type][from] && statusMap[type][from][to]) @@ -131,7 +131,7 @@ $(function() }); } } - + /* Keep the draged element stay in the new place. */ return true; }; @@ -190,7 +190,8 @@ $(function() { url: $link.attr('href'), shown: function(){$('.modal-iframe').addClass('with-titlebar').data('cancel-reload', true)}, - hidden: refresh + hidden: refresh, + width: $(this).is('.task-assignedTo,.bug-assignedTo') ? 800 : 1100 }); return false; });