Add some javascript so we can put focus on the first field of the page.

This commit is contained in:
Rob Crittenden
2007-12-06 17:49:56 -05:00
parent 7e2f44df45
commit 86d80f12ca
4 changed files with 18 additions and 0 deletions

View File

@@ -180,4 +180,10 @@
</script>
</form>
<script type="text/javascript">
document.getElementById("form_name").focus();
</script>
</div>

View File

@@ -97,6 +97,10 @@ from ipagui.helpers import ipahelper
</form>
<script type="text/javascript">
document.getElementById("form_cn").focus();
</script>
<script type="text/javascript">
/*
* This section restores the contents of the add and remove lists

View File

@@ -95,4 +95,8 @@ from ipagui.helpers import ipahelper
</form>
<script type="text/javascript">
document.getElementById("form_hostname").focus();
</script>
</div>

View File

@@ -790,6 +790,10 @@ from ipagui.helpers import ipahelper
</form>
<script type="text/javascript">
document.getElementById("form_title").focus();
</script>
<script type="text/javascript">
/*
* This section restores the contents of the add and remove lists