* Fix code for task#43401,#43403,#43404,#43405,#43398,#43399.
This commit is contained in:
@@ -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;}
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user