* fix a bug for batchcreate task.

This commit is contained in:
wyd621
2014-03-19 01:21:25 +00:00
parent 7ce1b3428d
commit 0c9211a2b1
5 changed files with 16 additions and 15 deletions
+7 -7
View File
@@ -38,22 +38,22 @@
<?php
if($i == 0)
{
$story = $storyID;
$type = '';
$member = '';
$module = '';
$currentStory = $storyID;
$type = '';
$member = '';
$module = $story ? $story->module : '';
}
else
{
$story = $type = $member = $module = 'ditto';
$currentStory = $type = $member = $module = 'ditto';
}
?>
<?php $pri = 3;?>
<tr class='a-center'>
<td><?php echo $i+1;?></td>
<td><?php echo $i + 1;?></td>
<td class='a-left' style='overflow:visible'>
<?php
echo html::select("story[$i]", $stories, $story, "class='select-1' onchange='setStoryRelated($i)'");
echo html::select("story[$i]", $stories, $currentStory, "class='select-1' onchange='setStoryRelated($i)'");
echo html::a("javascript:copyStoryTitle($i)", "<i class='icon-green-same'></i>", '', "class='sameAsStory' title='{$lang->task->copyStoryTitle}'");
?>
</td>