* finish task #1011.
This commit is contained in:
@@ -38,10 +38,35 @@ function setPreview()
|
||||
$('#preview').removeClass('hidden');
|
||||
$('#preview').attr('href', storyLink);
|
||||
}
|
||||
setAfter();
|
||||
}
|
||||
|
||||
/**
|
||||
* Set after locate.
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
function setAfter()
|
||||
{
|
||||
if($("#story").select().val() == '')
|
||||
{
|
||||
if($('input[value="continueAdding"]').attr('checked') == true)
|
||||
{
|
||||
$('input[value="toTaskList"]').attr('checked', true);
|
||||
}
|
||||
$('input[value="continueAdding"]').attr('disabled', 'disabled');
|
||||
}
|
||||
else
|
||||
{
|
||||
$('input[value="continueAdding"]').attr('disabled', false);
|
||||
}
|
||||
}
|
||||
|
||||
$(document).ready(function()
|
||||
{
|
||||
setPreview();
|
||||
$("#story").chosen({no_results_text: noResultsMatch});
|
||||
$("#mailto").autocomplete(userList, { multiple: true, mustMatch: true});
|
||||
setAfter();
|
||||
});
|
||||
|
||||
@@ -105,7 +105,7 @@ $lang->task->reasonList['done'] = 'Done';
|
||||
$lang->task->reasonList['cancel'] = 'Canceled';
|
||||
|
||||
$lang->task->afterChoices['continueAdding'] = 'Continue to add task for this story. ';
|
||||
$lang->task->afterChoices['toTastList'] = 'To task list. ';
|
||||
$lang->task->afterChoices['toTaskList'] = 'To task list. ';
|
||||
$lang->task->afterChoices['toStoryList'] = 'To story list. ';
|
||||
|
||||
$lang->task->buttonEdit = 'Edit';
|
||||
|
||||
@@ -105,7 +105,7 @@ $lang->task->reasonList['done'] = '已完成';
|
||||
$lang->task->reasonList['cancel'] = '已取消';
|
||||
|
||||
$lang->task->afterChoices['continueAdding'] = '继续为该需求添加任务';
|
||||
$lang->task->afterChoices['toTastList'] = '返回任务列表';
|
||||
$lang->task->afterChoices['toTaskList'] = '返回任务列表';
|
||||
$lang->task->afterChoices['toStoryList'] = '返回需求列表';
|
||||
|
||||
$lang->task->buttonEdit = '编辑';
|
||||
|
||||
Reference in New Issue
Block a user