diff --git a/plugins/admin/systems/glpi_edit_cartridge_type.tpl b/plugins/admin/systems/glpi_edit_cartridge_type.tpl
index d3f42d05431391fde0ac5ec97f1dd56ae29b1b71..0d640bbb5d076583f08f0444b50fa979aa31c67c 100644 (file)
<br>
<br>
- <select name="select_type_cartridge" size="8" style="width:80%">
+ <select name="select_type_cartridge" size="12" style="width:100%">
{html_options values=$PrinterTypeKeys output=$PrinterTypes}
</select><br>
<input name="cartridge_type_string">
{html_options values=$PrinterTypeKeys output=$PrinterTypes}
</select><br>
<input name="cartridge_type_string">
<p class="seperator"> </p>
<div align="right">
<p>
<p class="seperator"> </p>
<div align="right">
<p>
-<input name="close_edit_type_cartridge" value="{t}close{/t}" type="submit">
+<input name="close_edit_type_cartridge" value="{t}Close{/t}" type="submit">
</p>
</div>
</p>
</div>
+<script language="JavaScript" type="text/javascript">
+ <!-- // First input field on page
+ document.mainform.cartridge_type_string.focus();
+ -->
+</script>
+