Bugzilla – Attachment 181661 Details for
Bug 38842
Add reusable modal wrapper
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38842: Add a op=cud-null to the form
Bug-38842-Add-a-opcud-null-to-the-form.patch (text/plain), 1.32 KB, created by
David Nind
on 2025-04-29 13:39:30 UTC
(
hide
)
Description:
Bug 38842: Add a op=cud-null to the form
Filename:
MIME Type:
Creator:
David Nind
Created:
2025-04-29 13:39:30 UTC
Size:
1.32 KB
patch
obsolete
>From ac7ec4261fca3e4cebdf39957ac35b4cc58a8dc7 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 29 Apr 2025 15:29:33 +0200 >Subject: [PATCH] Bug 38842: Add a op=cud-null to the form > >This will make xt/find-missing-op-in-forms.t pass >But also enforce the use of a op=cud- parameter. > >It is at the end of the form element, so if another is passed in the >modal body the one passed will get retrieved properly by CGI->param > >Signed-off-by: David Nind <david@davidnind.com> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc >index 4bd7f0cf75..a3aa7c0d1e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc >@@ -709,6 +709,7 @@ > <button type="button" data-bs-dismiss="modal" class="btn btn-default" id="[% modal_id | html %]-ok">[% t('OK') | html %]</button> > [% END %] > </div> >+ <input type="hidden" name="op" value="cud-null" /> [%# Must be pass in the content of the modal %] > </form> > </div> > </div> >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38842
:
178875
|
179084
|
179085
|
179086
|
179087
|
179127
|
179520
|
179521
|
179523
|
179524
|
179526
|
179538
|
179539
|
179540
|
179541
|
179542
|
180752
|
180753
|
180754
|
180755
|
180756
|
181658
| 181661