<tr>
<th class="listheading" width="3%">[% L.checkbox_tag(source.chk_action _ '_checkall') %]</th>
<th class="listheading" width="11%">[% source.chkall_title %]</th>
- <th>[% LxERP.t8("Attached Filename") %]</th>
+ <th>[% LxERP.t8("Attached Filename") %]</th>
</tr>
</thead>
<tbody>
[%- FOREACH file = source.files %]
- <tr class="listrow[% loop.count % 2 %]">
- <td>[%- L.checkbox_tag(source.chk_action _ '[]', 'value'=file.name, 'class'=source.chk_action) %]</td>
- <td></td>
- <td><span id="[% "filename_" _ file.name %]">[% file.filename %]</span></td>
- </tr>
+ <tr class="listrow[% loop.count % 2 %]">
+ <td>[%- L.checkbox_tag(source.chk_action _ '[]', 'value'=file.name, 'class'=source.chk_action) %]</td>
+ <td></td>
+ <td><span id="[% "filename_" _ file.name %]">[% file.filename %]</span></td>
+ </tr>
[%- END %]
</tbody>
</table>
<p>
- [%- L.button_tag("kivi.File.importaction(" _ SELF.object_id _ ",'" _ SELF.object_type _ "','" _ SELF.file_type _ "','" _ source.name _ "','" _ source.path _ "','"_ source.chk_action _ "');", LxERP.t8('Continue'), id => "import_cont_btn") %]</td>
- [%- L.button_tag("kivi.File.importclose();" , LxERP.t8('Cancel') , class => "submit") %]</td></tr>
+ [%- L.button_tag("kivi.File.importaction(" _ SELF.object_id _ ",'" _ SELF.object_type _ "','" _ SELF.file_type _ "','" _ source.name _ "','" _ source.path _ "','"_ source.chk_action _ "');", LxERP.t8('Continue'), id => "import_cont_btn") %]</td>
+ [%- L.button_tag("kivi.File.importclose();" , LxERP.t8('Cancel') , class => "submit") %]</td></tr>
</p>
</form>
<script type="text/javascript">
-<!--
-$(function() {
- $('#[% source.chk_action %]_checkall').checkall('INPUT[name="[% source.chk_action %][]"]');
-});
--->
+ <!--
+ $(function() {
+ $('#[% source.chk_action %]_checkall').checkall('INPUT[name="[% source.chk_action %][]"]');
+ });
+ -->
</script>