summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2023-05-09 11:47:54 +0000
committerGerrit Code Review <review@openstack.org>2023-05-09 11:47:54 +0000
commit72903daff96500174e9e4b53e90ad25358a19e9c (patch)
treeac3b0895eb6d784f33ff36a4156cd6a06ce499cf
parent852d5dc7922abe0b9d2a3e26ed6ede9902a2da47 (diff)
parent0d6d2f1290a2627f1ad871dffbdd416fbd2b095f (diff)
downloadhorizon-72903daff96500174e9e4b53e90ad25358a19e9c.tar.gz
Merge "Fix "jQuery.fn.submit() event shorthand is deprecated" warning"
-rw-r--r--horizon/static/horizon/js/horizon.tables.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/horizon/static/horizon/js/horizon.tables.js b/horizon/static/horizon/js/horizon.tables.js
index 7b8d99632..50a28900f 100644
--- a/horizon/static/horizon/js/horizon.tables.js
+++ b/horizon/static/horizon/js/horizon.tables.js
@@ -342,7 +342,7 @@ horizon.datatables.confirm = function(action) {
el.value = $action.attr('value');
$form
.append(el)
- .submit();
+ .trigger('submit');
modal.modal('hide');
horizon.modals.modal_spinner(gettext("Working"));