diff --git a/module/task/css/create.css b/module/task/css/create.css index 1b099f23c8..6a3495d46d 100644 --- a/module/task/css/create.css +++ b/module/task/css/create.css @@ -24,7 +24,6 @@ .chosen-results > li.has-test.highlighted, .chosen-results > li.has-new-test.highlighted {color: #fff;} -.c-multipleTask {width: 110px;} .c-modulel {width: 110px;} .keep-row-height {height: 32px;} diff --git a/module/task/css/create.en.css b/module/task/css/create.en.css index a6b239ab57..c2526aa3af 100644 --- a/module/task/css/create.en.css +++ b/module/task/css/create.en.css @@ -1,3 +1,2 @@ -.c-multipleTask {width: 120px;} .c-modulel {width: 110px;} .c-selectStory {width: 150px;} diff --git a/module/task/js/create.js b/module/task/js/create.js index 0b867a7c54..25b2552ef3 100644 --- a/module/task/js/create.js +++ b/module/task/js/create.js @@ -581,7 +581,7 @@ $('#modalTeam tfoot .btn').click(function() var team = ''; var time = 0; var error = false; - var mode = $('#mode').val(); + var mode = $('[name="mode"]').val(); $('select[name^=team]').each(function() { diff --git a/module/task/view/create.html.php b/module/task/view/create.html.php index 12bf041b08..672f3109ec 100644 --- a/module/task/view/create.html.php +++ b/module/task/view/create.html.php @@ -79,7 +79,7 @@ foreach(explode(',', $config->task->create->requiredFields) as $field) -
'> +
diff --git a/module/task/view/taskteam.html.php b/module/task/view/taskteam.html.php index 0df362ab2b..ba052b1bb7 100644 --- a/module/task/view/taskteam.html.php +++ b/module/task/view/taskteam.html.php @@ -184,7 +184,7 @@ $(document).ready(function() var disableMembers = function() { - var mode = $('#mode').length > 0 ? $('#mode').val() : 'mode) ? $task->mode : '')?>'; + var mode = $('[name="mode"]').length > 0 ? $('[name="mode"]').val() : 'mode) ? $task->mode : '')?>'; if(mode == 'multi') { var members = []; @@ -268,7 +268,7 @@ $(document).ready(function() $newRow.removeClass('highlight'); }, 1600); - var taskMode = $('#mode').val(); + var taskMode = $('[name="mode"]').val(); if(taskMode == 'multi') $('#taskTeamEditor tr.member .icon-angle-down').addClass('hidden'); disableMembers(); @@ -323,7 +323,7 @@ $(document).ready(function() $(this).closest('tr').find('input[id^=teamEstimate]').closest('.input-group').toggleClass('required', $(this).val() != '') }); - $('#mode').change(function() + $('[name="mode"]').change(function() { if($(this).val() == 'multi') {