diff --git a/module/execution/js/kanban.js b/module/execution/js/kanban.js
index 750ae9ed8c..fcfd0b6eb9 100644
--- a/module/execution/js/kanban.js
+++ b/module/execution/js/kanban.js
@@ -710,11 +710,8 @@ $(function()
*/
function restoreSelect()
{
- var type = $('#type').val();
- if(type == 'all')
- {
- $('.c-group').css("display","none");
- }
+ var type = $('#type').val();
+ if(type == 'all') $('.c-group').css("display", "none");
}
/**
@@ -722,11 +719,11 @@ function restoreSelect()
*/
$('#type').change(function()
{
- var type = $('#type').val();
- $('.c-group').css("display","");
+ var type = $('#type').val();
+ $('.c-group').css("display", "");
if(type == 'all')
{
- $('.c-group').css("display","none");
+ $('.c-group').css("display", "none");
}
else
{
@@ -745,8 +742,9 @@ $('#type').change(function()
$('.c-group').change(function()
{
$('.c-group').css("display","");
- var type = $('#type').val();
- var group = $('#group').val();
+
+ var type = $('#type').val();
+ var group = $('#group').val();
link = createLink('execution', 'kanban', 'executionID=' + executionID + '&type=' + type + '&orderBy=order_asc' + '&group=' + group);
location.href = link;
});
diff --git a/module/execution/view/kanban.html.php b/module/execution/view/kanban.html.php
index d77b0d1a9b..7d10874a4c 100644
--- a/module/execution/view/kanban.html.php
+++ b/module/execution/view/kanban.html.php
@@ -13,8 +13,13 @@
kanban->type['bug'] = "bug看板";
$lang->kanban->group = new stdClass();
$lang->kanban->group->all = array();
-
$lang->kanban->group->story = array();
$lang->kanban->group->story['default'] = "默认方式";
$lang->kanban->group->story['pri'] = "需求优先级";