Skip to content

Commit 1022eef

Browse files
committed
Implement change requests
1 parent 6e5aaa0 commit 1022eef

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

Kitodo/src/main/webapp/WEB-INF/templates/includes/massImport/massImportTab.xhtml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
value="#{MassImportForm.file}"
3131
listener="#{MassImportForm.handleFileUpload}"
3232
allowTypes="/(\.|\/)(csv)$/"
33-
sizeLimit="100000"
33+
sizeLimit="1000000"
3434
skinSimple="true"
3535
update="recordsForm fileUploadForm"
3636
styleClass="input"
@@ -129,6 +129,8 @@
129129
styleClass="secondary remove-metadata-column"
130130
action="#{MassImportForm.removeMetadata(columnIndex)}"
131131
title="#{msgs.delete}"
132+
process="@this"
133+
partialSubmit="true"
132134
icon="fa fa-trash-o"
133135
update="recordsForm:recordsTableWrapper"/>
134136
</f:facet>
@@ -150,6 +152,8 @@
150152
title="#{msgs['dataEditor.addMetadata.newMetadata']}"
151153
disabled="#{MassImportForm.records.size() eq 0}"
152154
style="margin: 3px"
155+
process="@this"
156+
partialSubmit="true"
153157
icon="fa fa-plus"
154158
styleClass="secondary"
155159
action="#{MassImportForm.addMetadataDialog.prepareMetadataTypes()}"
@@ -167,6 +171,8 @@
167171
<div>
168172
<p:commandButton id="addCsvRecord"
169173
action="#{MassImportForm.addRecord}"
174+
process="@this"
175+
partialSubmit="true"
170176
title="#{msgs['massImport.addRow']}"
171177
value="#{msgs['massImport.addRow']}"
172178
icon="fa fa-plus"
@@ -191,7 +197,9 @@
191197
var="configuration"
192198
itemLabel="#{configuration.title}"
193199
itemValue="#{configuration}"/>
194-
<p:ajax update="recordsForm"/>
200+
<p:ajax process="@this"
201+
partialSubmit="true"
202+
update="recordsForm"/>
195203
</p:selectOneMenu>
196204
<!-- FIXME: this tooltip doesn't work! -->
197205
<p:tooltip for="catalogueSelect"

0 commit comments

Comments
 (0)