Bug 42178: Fix close button for remove from bundle
The close button for remove from bundle has not type, so it submits the form. This patch adds a button type. Test plan: 1. Apply bug 42177 or add a local use preference for bundlesEnabled set to 1. 2. Edit a record. 3. Modify the leader so that it has a collection bibliographic level. 4. Ensure that is has at least one item. 5. Click Manage bundle next to the item. 6. Click Remove from bundle. 7. Click the Close button. 8. Observe that the form is submitted. 9. Apply the patch. 10. Repeat steps 5-7. 11. Observe that the form is not submitted. 12. Sign off. Sponsored-by: Lund University Library Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
This commit is contained in:
parent
592e871a65
commit
aad1298cbd
|
|
@ -1247,7 +1247,7 @@
|
|||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
<button class="btn btn-default" data-bs-dismiss="modal">Close</button>
|
||||
<button type="button" class="btn btn-default" data-bs-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue