This commit is contained in:
wangyidong
2016-03-04 14:14:15 +08:00
parent 401e2c0ac1
commit f36272ed99
2 changed files with 4 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ $config->story->review = new stdclass();
$config->story->create->requiredFields = 'title';
$config->story->change->requiredFields = 'title';
$config->story->close->requiredFields = 'closedReason';
$config->story->review->requiredFields = 'assignedTo,reviewedBy,result';
$config->story->review->requiredFields = 'assignedTo,reviewedBy';
$config->story->editor = new stdclass();
$config->story->editor->create = array('id' => 'spec,verify', 'tools' => 'simpleTools');

View File

@@ -5,6 +5,7 @@ function switchShow(result)
$('#rejectedReasonBox').show();
$('#preVersionBox').hide();
$('#assignedTo').val('closed');
$('#assignedTo').trigger("chosen:updated");
}
else if(result == 'revert')
{
@@ -13,6 +14,7 @@ function switchShow(result)
$('#duplicateStoryBox').hide();
$('#childStoriesBox').hide();
$('#assignedTo').val(assignedTo);
$('#assignedTo').trigger("chosen:updated");
}
else
{
@@ -22,6 +24,7 @@ function switchShow(result)
$('#childStoriesBox').hide();
$('#rejectedReasonBox').hide();
$('#assignedTo').val(assignedTo);
$('#assignedTo').trigger("chosen:updated");
}
}