Correct Dialog Close Button (#85)

* correct dialog#close -> DS--dialog#close

* additional ds-- add

* stop reload on close

* Added option for reload_on_close var

* Fix test to allow query param in redirect URL
This commit is contained in:
ByteBard
2025-08-08 09:05:03 +10:00
committed by GitHub
parent f6dde1a098
commit b7d9c89471
5 changed files with 6 additions and 6 deletions

View File

@@ -21,7 +21,7 @@
</div>
<div class="flex justify-end gap-2 mt-auto">
<%= render DS::Button.new(text: "Cancel", variant: "ghost", data: { action: "click->dialog#close" }) %>
<%= render DS::Button.new(text: "Cancel", variant: "ghost", data: { action: "click->DS--dialog#close" }) %>
<%= render DS::Button.new(text: "Save", data: { bulk_select_scope_param: "bulk_update", action: "bulk-select#submitBulkRequest" }) %>
</div>
<% end %>