Bugzilla – Attachment 44760 Details for
Bug 9525
Add option to define float groups and rules for float
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9525 - group floating rules, CGI doesn't understand DELETE at all.
Bug-9525---group-floating-rules-CGI-doesnt-underst.patch (text/plain), 1.20 KB, created by
Olli-Antti Kivilahti
on 2015-11-11 13:42:52 UTC
(
hide
)
Description:
Bug 9525 - group floating rules, CGI doesn't understand DELETE at all.
Filename:
MIME Type:
Creator:
Olli-Antti Kivilahti
Created:
2015-11-11 13:42:52 UTC
Size:
1.20 KB
patch
obsolete
>From 730f13271780d319b96cfa870aa4d58a53962394 Mon Sep 17 00:00:00 2001 >From: Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi> >Date: Wed, 11 Nov 2015 15:41:49 +0200 >Subject: [PATCH] Bug 9525 - group floating rules, CGI doesn't understand > DELETE at all. > >instead of DELETE we GET the delete request so CGI works with it. >--- > koha-tmpl/intranet-tmpl/prog/en/js/admin/floating-matrix.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/admin/floating-matrix.js b/koha-tmpl/intranet-tmpl/prog/en/js/admin/floating-matrix.js >index 09b669d..508d8e6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/js/admin/floating-matrix.js >+++ b/koha-tmpl/intranet-tmpl/prog/en/js/admin/floating-matrix.js >@@ -164,7 +164,7 @@ FloMax.persistBranchRule = function (brJSON, branchRule) { > if (brJSON.floating == 'DISABLED') { > brJSON.delete = 1; //A hack to trick Perl CGI to understand this is a HTTP DELETE-verb. > $.ajax('floating-matrix-api.pl', >- {method : 'DELETE', >+ {method : 'POST', //Should be DELETE but damn CGI > data : brJSON, > dataType : 'json', > }).done(function(data, textStatus, jqXHR){ >-- >1.9.1
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 9525
:
40077
|
40102
|
40103
|
44754
|
44756
|
44760
|
48310
|
100420
|
100421
|
100422
|
100741
|
100742
|
100743
|
103828
|
103829
|
103830
|
103831
|
112550
|
112551
|
112552
|
112553
|
124825
|
124826
|
124827
|
133071
|
133072
|
133073
|
139024
|
139025
|
139026
|
143740
|
143741
|
143742
|
143743
|
150241
|
150242
|
150243
|
150244
|
150245
|
150246
|
156330
|
156331
|
156332
|
156333
|
156334
|
156335
|
156336