Skip to content

Commit 417c1c3

Browse files
author
Simon Sendler
committed
fix: restore save functionality
Don't submit image.url on save
1 parent fff4e36 commit 417c1c3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

module-gui/src/main/webapp/resources/uii/plugin_step_transcription.xhtml

+4-3
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
title="#{msgs.save}"
9999
styleClass="btn d-flex align-items-center btn--title-action"
100100
pt:data-bs-toggle="tooltip">
101-
<f:ajax execute="hiddenInputs" render=":myform" />
101+
<f:ajax execute="hiddenInputText" render=":myform" />
102102
<span
103103
aria-hidden="true"
104104
class="fa fa-save" />
@@ -183,7 +183,8 @@
183183
style="display: none;">
184184
<h:inputText
185185
value="#{AktuelleSchritteForm.myPlugin.image.ocrText}"
186-
class="input_0"></h:inputText>
186+
class="input_0"
187+
id="hiddenInputText"></h:inputText>
187188
<h:inputText
188189
value="#{AktuelleSchritteForm.myPlugin.image.image.url}"
189190
id="inputImageUrl"></h:inputText>
@@ -222,7 +223,7 @@
222223
<span>
223224
<h:outputText value="#{msgs.save}" />
224225
</span>
225-
<f:ajax execute="hiddenInputs" />
226+
<f:ajax execute="hiddenInputText" render=":myform" />
226227
</h:commandLink>
227228
<!-- Save and finish the task -->
228229
<h:commandLink

0 commit comments

Comments
 (0)