Skip to content

Commit

Permalink
bug #2046 Revert delete form (ad3n)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.17.x-dev branch.

Discussion
----------

Revert delete form

Revert delete form ref: #2044

Commits
-------

70dafcb Revert delete form
  • Loading branch information
javiereguiluz committed Feb 10, 2018
2 parents ec90e60 + 70dafcb commit bc35832
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{
form(delete_form, {
action: delete_form.vars.action ~ (delete_form.vars.action starts with '?' ? '&' : '?') ~ 'referer=' ~ referer,
action: delete_form.vars.action ~ ('?' in delete_form.vars.action ? '&' : '?') ~ 'referer=' ~ referer,
method: 'DELETE',
attr: { id: 'delete-form', style: 'display: none' }
})
Expand Down

0 comments on commit bc35832

Please sign in to comment.