Skip to content

Commit c32013c

Browse files
committed
disable submit button
1 parent 84830cf commit c32013c

File tree

1 file changed

+2
-1
lines changed
  • src/main/webapp/WEB-INF/views/series

1 file changed

+2
-1
lines changed

src/main/webapp/WEB-INF/views/series/info.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ <h5 th:text="#{t_hidden_images}">Hidden images</h5>
414414
<form id="add-catalog-price-form"
415415
class="form-horizontal"
416416
hx-target="#add-catalog-price"
417+
hx-disabled-elt="#add-catalog-price-btn"
417418
th:hx-patch="@{${INFO_SERIES_PAGE}(id=${seriesId})}">
418419
<div class="alert alert-danger text-center col-sm-8 col-sm-offset-3 hidden server-error-msg"
419420
th:text="#{t_server_error}">
@@ -452,7 +453,7 @@ <h5 th:text="#{t_hidden_images}">Hidden images</h5>
452453
</div>
453454
</div>
454455
<div class="col-sm-offset-3 col-sm-4">
455-
<button
456+
<button id="add-catalog-price-btn"
456457
type="submit"
457458
class="btn btn-primary btn-sm"
458459
th:text="#{t_add}">

0 commit comments

Comments
 (0)