* Fix bug #33139.
This commit is contained in:
@@ -239,8 +239,8 @@
|
||||
|
||||
$totalEstimate = 0;
|
||||
$canBatchEdit = common::hasPriv('story', 'batchEdit');
|
||||
$canBatchClose = common::hasPriv('story', 'batchClose');
|
||||
$canBatchChangeStage = common::hasPriv('story', 'batchChangeStage');
|
||||
$canBatchClose = (common::hasPriv('story', 'batchClose') and $storyType != 'requirement');
|
||||
$canBatchChangeStage = (common::hasPriv('story', 'batchChangeStage') and $storyType != 'requirement');
|
||||
$canBatchUnlink = common::hasPriv('execution', 'batchUnlinkStory');
|
||||
$canBatchToTask = (common::hasPriv('story', 'batchToTask', $checkObject) and $storyType != 'requirement');
|
||||
$canBatchAssignTo = common::hasPriv($storyType, 'batchAssignTo');
|
||||
@@ -365,7 +365,7 @@
|
||||
echo html::commonButton($lang->close, "data-form-action='$actionLink'");
|
||||
}
|
||||
?>
|
||||
<?php if(common::hasPriv('story', 'batchChangeStage')):?>
|
||||
<?php if($canBatchChangeStage):?>
|
||||
<div class="btn-group dropup">
|
||||
<button data-toggle="dropdown" type="button" class="btn"><?php echo $lang->story->stageAB;?> <span class="caret"></span></button>
|
||||
<ul class='dropdown-menu <?php echo count($stories) == 1 ? 'stageBox' : '';?>'>
|
||||
|
||||
@@ -104,6 +104,7 @@ class screenModel extends model
|
||||
$config->previewScaleType = 'scrollY';
|
||||
|
||||
$componentList = json_decode($screen->scheme);
|
||||
$componentList = json_decode(file_get_contents('/data/nfs/repo/screen/' . $screen->id . '.json'));
|
||||
if(empty($componentList)) $componentList = array();
|
||||
|
||||
/* Reset height of canvas. */
|
||||
|
||||
Reference in New Issue
Block a user