* Fix code for task#43401,#43403,#43404,#43405,#43398,#43399.

This commit is contained in:
dingna
2021-11-01 13:26:57 +08:00
parent c08c981ab0
commit c28e4c1b61
3 changed files with 5 additions and 22 deletions
+2 -1
View File
@@ -31,4 +31,5 @@
.dropdown-menu a {text-align: left;}
.scrollbar-hover {max-height: 2000px; overflow: scroll !important;}
.c-type, .c-group {width: 150px !important; overflow: unset; display: "";}
.c-type, .c-group {width: 150px !important; overflow: unset;}
.c-type {margin-left: 0px !important;}
+1 -20
View File
@@ -660,9 +660,6 @@ $(function()
onRenderCount: renderColumnCount
};
/* Hide group menu. */
hideGroupMenu();
if(groupBy == 'default')
{
/* Create story kanban 创建需求看板 */
@@ -719,26 +716,10 @@ $(function()
})
});
/**
* Hide group menu.
*
* @access public
* @return void
*/
function hideGroupMenu()
{
var type = $('#type').val();
if(type == 'all') $('.c-group').hide();
}
$('#type').change(function()
{
var type = $('#type').val();
if(type == 'all')
{
$('.c-group').hide();
}
else
if(type != 'all')
{
$('.c-group').show();
$.get(createLink('execution', 'ajaxGetGroup', 'type=' + type), function(data)
+2 -1
View File
@@ -13,12 +13,13 @@
<div id='mainMenu' class='clearfix'>
<div class='btn-toolbar pull-left'>
<div class="input-control space c-type">
<i class="icon icon-list-all"></i>
<?php echo html::select('type', $lang->kanban->type, $browseType, 'class="form-control chosen" data-max_drop_width="215"');?>
</div>
<?php if($browseType != 'all'):?>
<div class="input-control space c-group">
<?php echo html::select('group', $lang->kanban->group->$browseType, $groupBy, 'class="form-control chosen" data-max_drop_width="215"');?>
</div>
<?php endif;?>
</div>
<div class='btn-toolbar pull-right'>
<?php