[Zope3-checkins] CVS: ZopeProducts/RotterdamSprint - folder_contents.pt:1.4 zope3.css:1.15
Godefroid Chapelle
gotcha@swing.be
Fri, 13 Dec 2002 03:56:18 -0500
Update of /cvs-repository/ZopeProducts/RotterdamSprint
In directory cvs.zope.org:/tmp/cvs-serv2703
Modified Files:
folder_contents.pt zope3.css
Log Message:
set focus to id input widget when adding item
=== ZopeProducts/RotterdamSprint/folder_contents.pt 1.3 => 1.4 ===
--- ZopeProducts/RotterdamSprint/folder_contents.pt:1.3 Fri Dec 6 09:34:47 2002
+++ ZopeProducts/RotterdamSprint/folder_contents.pt Fri Dec 13 03:56:18 2002
@@ -38,7 +38,7 @@
<tr tal:condition="request/type_name|nothing">
<td></td>
<td>
- <form action="+/action.html" method="POST">
+ <form name="addForm" action="+/action.html" method="POST">
<input type="hidden" name="type_name" tal:attributes="value request/type_name">
<input name="id" value="">
</form>
@@ -99,7 +99,11 @@
</table>
<br />
-
+ <script tal:condition="request/type_name|nothing"><!--
+ prettydump('focus', LG_INFO);
+ document.addForm.id.focus();
+ //-->
+ </script>
</div>
</div>
=== ZopeProducts/RotterdamSprint/zope3.css 1.14 => 1.15 ===
--- ZopeProducts/RotterdamSprint/zope3.css:1.14 Wed Dec 11 06:28:48 2002
+++ ZopeProducts/RotterdamSprint/zope3.css Fri Dec 13 03:56:18 2002
@@ -391,6 +391,7 @@
.item {
border: 1px solid #74AE0B;
+ padding: 10px;
}
table.listing {