Bugzilla – Attachment 102730 Details for
Bug 17656
Irregularities in serial prediction pattern are planned only for current subscription
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17656: predication table - check all issues with same data-dow
Bug-17656-predication-table---check-all-issues-wit.patch (text/plain), 2.39 KB, created by
Alex Arnaud
on 2020-04-10 14:23:23 UTC
(
hide
)
Description:
Bug 17656: predication table - check all issues with same data-dow
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2020-04-10 14:23:23 UTC
Size:
2.39 KB
patch
obsolete
>From 0e5bb5e65d14388f5d59d788e3b44c83542737f9 Mon Sep 17 00:00:00 2001 >From: Alex Arnaud <alex.arnaud@biblibre.com> >Date: Mon, 11 Jun 2018 14:11:51 +0000 >Subject: [PATCH] Bug 17656: predication table - check all issues with same > data-dow > >--- > koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-renew.tt | 1 + > koha-tmpl/intranet-tmpl/prog/js/showpredictionpattern.js | 3 +-- > koha-tmpl/intranet-tmpl/prog/js/subscription.js | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-renew.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-renew.tt >index b202c1f..d7a074e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-renew.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-renew.tt >@@ -127,6 +127,7 @@ > }); > }); > </script> >+ [% Asset.js("js/subscription-add.js") %] > [% Asset.js("js/subscription.js") %] > [% Asset.js("js/showpredictionpattern.js") %] > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/js/showpredictionpattern.js b/koha-tmpl/intranet-tmpl/prog/js/showpredictionpattern.js >index 1efab8a..6ab01c0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/showpredictionpattern.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/showpredictionpattern.js >@@ -2,14 +2,13 @@ function Check_boxes(dow) { > if($(":checkbox[data-dow='"+dow+"']:first").is(':checked')) { > $("#predictionst :checkbox[data-dow='"+dow+"']").each(function(){ > $(this).prop('checked', true); >- return false; > }); > } else { > $("#predictionst :checkbox[data-dow='"+dow+"']").each(function(){ > $(this).prop('checked', false); >- return false; > }); > } >+ return false; > } > function Check_permanent_irregularities() { > nothing_checked = 1; >diff --git a/koha-tmpl/intranet-tmpl/prog/js/subscription.js b/koha-tmpl/intranet-tmpl/prog/js/subscription.js >index 6e16f8b..e07e084 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/subscription.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/subscription.js >@@ -57,7 +57,7 @@ function testPredictionPattern() { > for(i in ajaxParams) { > var param = ajaxParams[i]; > var value = $("#"+param).val(); >- if(value.length > 0) >+ if(value && value.length > 0) > ajaxData[param] = value; > } > >-- >2.7.4
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 17656
:
68259
|
68261
|
68607
|
68608
|
68665
|
69124
|
69207
|
69279
|
69553
|
69814
|
69820
|
69915
|
70335
|
70336
|
70430
|
70619
|
75403
|
75404
|
75405
|
75406
|
75407
|
75408
|
75721
|
75722
|
75723
|
75724
|
75725
|
75726
|
75953
|
102724
|
102725
|
102726
|
102727
|
102728
|
102729
|
102730
|
102860
|
102861
|
102862
|
102863
|
102864
|
102865
|
102866
|
102867
|
102960
|
102961
|
102962
|
102963
|
102964
|
102965
|
102966
|
102967
|
102968
|
103623
|
103624
|
103625
|
103626
|
103627
|
103628
|
103629
|
103630
|
103631
|
103657
|
103658
|
103659
|
103660
|
103661
|
103662
|
103663
|
103664
|
103665
|
103667
|
117789
|
117790
|
117791
|
117792
|
117846
|
117851
|
117852
|
118856
|
119106
|
120863
|
121082
|
121083
|
121084
|
121085
|
121086
|
121087
|
121088
|
121192
|
121193
|
121194
|
121195
|
121196
|
121197
|
121198
|
121296
|
121297
|
121298
|
121299
|
121300
|
121301
|
121302
|
128489
|
128491
|
128492
|
128493
|
128494
|
128495
|
128496
|
128498
|
128499
|
128500
|
128501
|
128502
|
128503
|
128504
|
132412
|
132413
|
132415
|
132416
|
132417
|
132418
|
132447
|
132448
|
132692
|
132779