diff --git a/plugins/admin/fai/faiPartitionTableEntry.tpl b/plugins/admin/fai/faiPartitionTableEntry.tpl
index a03dddca20488a71d2a2e6ffc05d7131f98d3aba..95a9b1b6161550b0a608c0f4e1c87e2d13bfbcad 100644 (file)
<td style='width:50%;border-right:1px solid #909090;'><LABEL for="DISK_cn">
{t}Name{/t}
</LABEL>{$must}
<td style='width:50%;border-right:1px solid #909090;'><LABEL for="DISK_cn">
{t}Name{/t}
</LABEL>{$must}
- <input value="{$DISK_cn}" size=20 name="DISK_cn" id="DISK_cn">
+ <input value="{$DISK_cn}" size="45" maxsize="80" name="DISK_cn" id="DISK_cn">
</td>
<td><LABEL for="DISK_description">
{t}Description{/t}
</td>
<td><LABEL for="DISK_description">
{t}Description{/t}
- </LABEL>{$must}
- <input value="{$DISK_description}" size=50 name="DISK_description" id="DISK_description">
+ </LABEL>
+ <input value="{$DISK_description}" size="45" maxsize="80" name="DISK_description" id="DISK_description">
</td>
</tr>
</table>
</td>
</tr>
</table>
<input type="submit" name="SaveDisk" value="{t}Save{/t}" >
<input type="submit" name="CancelDisk" value="{t}Cancel{/t}" >
</div>
<input type="submit" name="SaveDisk" value="{t}Save{/t}" >
<input type="submit" name="CancelDisk" value="{t}Cancel{/t}" >
</div>
+<!-- Place cursor -->
+<script language="JavaScript" type="text/javascript">
+ <!-- // First input field on page
+ document.mainform.DISK_cn.focus();
+ -->
+</script>
+