projects
/
koha_ffzg
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 16963 - Remove the use of "onclick" from subscription add template
[koha_ffzg]
/
koha-tmpl
/
intranet-tmpl
/
prog
/
en
/
modules
/
serials
/
showpredictionpattern.tt
diff --git
a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/showpredictionpattern.tt
b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/showpredictionpattern.tt
index
da04563
..
e23f912
100644
(file)
--- a/
koha-tmpl/intranet-tmpl/prog/en/modules/serials/showpredictionpattern.tt
+++ b/
koha-tmpl/intranet-tmpl/prog/en/modules/serials/showpredictionpattern.tt
@@
-20,25
+20,30
@@
});
}
}
});
}
}
+ $(document).ready(function(){
+ $(".skipday").on("change",function(){
+ Check_boxes( $(this).data("dow"));
+ });
+ });
//]]>
</script>
<p><em>
If there is a day (or more) in the week where issues are never
published, you can check corresponding boxes below.
</em></p>
//]]>
</script>
<p><em>
If there is a day (or more) in the week where issues are never
published, you can check corresponding boxes below.
</em></p>
- <input type="checkbox" id="monday" data-dow="1"
onchange="Check_boxes(1);
" />
+ <input type="checkbox" id="monday" data-dow="1"
class="skipday
" />
<label for="monday">Monday</label>
<label for="monday">Monday</label>
- <input type="checkbox" id="tuesday" data-dow="2"
onchange="Check_boxes(2);
" />
+ <input type="checkbox" id="tuesday" data-dow="2"
class="skipday
" />
<label for="tuesday">Tuesday</label>
<label for="tuesday">Tuesday</label>
- <input type="checkbox" id="wednesday" data-dow="3"
onchange="Check_boxes(3);
" />
+ <input type="checkbox" id="wednesday" data-dow="3"
class="skipday
" />
<label for="wednesday">Wednesday</label>
<label for="wednesday">Wednesday</label>
- <input type="checkbox" id="thursday" data-dow="4"
onchange="Check_boxes(4);
" />
+ <input type="checkbox" id="thursday" data-dow="4"
class="skipday
" />
<label for="thursday">Thursday</label>
<label for="thursday">Thursday</label>
- <input type="checkbox" id="friday" data-dow="5"
onchange="Check_boxes(5);
" />
+ <input type="checkbox" id="friday" data-dow="5"
class="skipday
" />
<label for="friday">Friday</label>
<label for="friday">Friday</label>
- <input type="checkbox" id="saturday" data-dow="6"
onchange="Check_boxes(6);
" />
+ <input type="checkbox" id="saturday" data-dow="6"
class="skipday
" />
<label for="saturday">Saturday</label>
<label for="saturday">Saturday</label>
- <input type="checkbox" id="sunday" data-dow="7"
onchange="Check_boxes(7);
" />
+ <input type="checkbox" id="sunday" data-dow="7"
class="skipday
" />
<label for="sunday">Sunday</label>
[% END %]
[% END %]
<label for="sunday">Sunday</label>
[% END %]
[% END %]