* textarea in batch operation page can ajust height to fit text content.

This commit is contained in:
Catouse
2014-11-05 09:59:25 +08:00
parent f4a092f574
commit 32e3858046
6 changed files with 37 additions and 10 deletions
+3 -3
View File
@@ -64,7 +64,7 @@
<td class='text-left' style='overflow:visible' id='buildBox<?php echo $i;?>'><?php echo html::select("openedBuilds[$i][]", $builds, 'trunk', "class='form-control chosen' multiple");?></td>
<td><?php echo html::input("title[$i]", $bugTitle, 'class=form-control');?></td>
<td>
<?php echo html::textarea("stepses[$i]", '', "rows='1' class='form-control'");?>
<?php echo html::textarea("stepses[$i]", '', "rows='1' class='form-control autosize'");?>
</td>
<td><?php echo html::select("types[$i]", $lang->bug->typeList, $type, "class='form-control'");?></td>
<td><?php echo html::select("severities[$i]", $lang->bug->severityList, '', "class='form-control'");?></td>
@@ -95,7 +95,7 @@
<td class='text-left' style='overflow:visible' id='buildBox<?php echo $i;?>'><?php echo html::select("openedBuilds[$i][]", $builds, '', "class='form-control chosen' multiple");?></td>
<td><?php echo html::input("title[$i]", '', 'class=form-control');?></td>
<td>
<?php echo html::textarea("stepses[$i]", '', "rows='1' class='form-control'");?>
<?php echo html::textarea("stepses[$i]", '', "rows='1' class='form-control autosize'");?>
</td>
<td><?php echo html::select("types[$i]", $lang->bug->typeList, $type, "class='form-control'");?></td>
<td><?php echo html::select("severities[$i]", $lang->bug->severityList, '', "class='form-control'");?></td>
@@ -118,7 +118,7 @@
<td class='text-left' style='overflow:visible' id='buildBox%s'><?php echo html::select("openedBuilds[%s][]", $builds, '', "class='form-control' multiple");?></td>
<td><?php echo html::input("titles[%s]", '', 'class=form-control');?></td>
<td>
<?php echo html::textarea("stepses[%s]", '', "rows='1' class='form-control'");?>
<?php echo html::textarea("stepses[%s]", '', "rows='1' class='form-control autosize'");?>
</td>
<td><?php echo html::select("types[%s]", $lang->bug->typeList, '', "class='form-control'");?></td>
<td><?php echo html::select("severities[%s]", $lang->bug->severityList, '', "class='form-control'");?></td>