Grid for prices fixed
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3025 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
e2e8370cf4
commit
2a07e99609
3 changed files with 5 additions and 5 deletions
|
@ -59,7 +59,7 @@
|
|||
</tal:errors>
|
||||
<tr>
|
||||
<tal:field>
|
||||
<td style="padding: 4px; border-top: none"
|
||||
<td style="padding: 4px; border-top: none; vertical-align: top"
|
||||
tal:attributes="title field/description">
|
||||
<b tal:content="field/title">...</b><span
|
||||
tal:condition="field/required"> *</span>
|
||||
|
|
|
@ -64,7 +64,7 @@ class GridFieldInstance(ListFieldInstance):
|
|||
for row in v:
|
||||
for k, vr in row.items():
|
||||
if isinstance(vr, basestring):
|
||||
row[k] = vr.replace('\n', '\\n')
|
||||
row[k] = vr.replace('\n', '\\n').replace('"', '\\"')
|
||||
empty = {}
|
||||
for fi in self.columnFieldInstances:
|
||||
default = fi.default
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<textarea rows="3" style="display: none"
|
||||
tal:attributes="name name; id name">
|
||||
</textarea>
|
||||
<table dojoType="dojox.grid.DataGrid" query="{name: '*'}"
|
||||
<table dojoType="dojox.grid.DataGrid"
|
||||
style="width: 100%; height: 12em"
|
||||
singleClickEdit="true"
|
||||
tal:attributes="id string:grid_$name;
|
||||
|
@ -34,9 +34,9 @@
|
|||
tal:content="column/title">Column Title</th>
|
||||
</tal:header>
|
||||
</tr></thead>
|
||||
</table>
|
||||
</table><br />
|
||||
</metal:input>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Reference in a new issue