View | Details | Raw Unified | Return to bug 11500
Collapse All | Expand All

(-)a/cataloguing/value_builder/dateaccessioned.pl (-1 / +10 lines)
Lines 3-8 Link Here
3
# Converted to new plugin style (Bug 13437)
3
# Converted to new plugin style (Bug 13437)
4
4
5
# Copyright 2000-2002 Katipo Communications
5
# Copyright 2000-2002 Katipo Communications
6
# Parts copyright Athens County Public Libraries 2019
6
#
7
#
7
# This file is part of Koha.
8
# This file is part of Koha.
8
#
9
#
Lines 32-44 my $builder = sub { Link Here
32
<script>
33
<script>
33
// from: cataloguing/value_builder/dateaccessioned.pl
34
// from: cataloguing/value_builder/dateaccessioned.pl
34
35
36
\$(document).ready(function(){
37
    \$("#$function_name").datepicker({
38
        dateFormat: "yy-mm-dd"
39
    });
40
});
41
35
function Focus$function_name(event) {
42
function Focus$function_name(event) {
36
    set_to_today(event.data.id);
43
    set_to_today(event.data.id);
44
    \$("#$function_name").datepicker("show");
45
37
}
46
}
38
47
39
function Click$function_name(event) {
48
function Click$function_name(event) {
49
    event.preventDefault();
40
    set_to_today(event.data.id, 1);
50
    set_to_today(event.data.id, 1);
41
    return false; // prevent page scroll
42
}
51
}
43
52
44
function set_to_today( id, force ) {
53
function set_to_today( id, force ) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt (+1 lines)
Lines 499-504 Link Here
499
    [% INCLUDE 'additem.js.inc' %]
499
    [% INCLUDE 'additem.js.inc' %]
500
    [% Asset.js("js/additem.js") | $raw %]
500
    [% Asset.js("js/additem.js") | $raw %]
501
    [% Asset.js("js/cataloging.js") | $raw %]
501
    [% Asset.js("js/cataloging.js") | $raw %]
502
    [% INCLUDE 'calendar.inc' %]
502
    <script>
503
    <script>
503
        actTotal = "";
504
        actTotal = "";
504
505
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt (+1 lines)
Lines 104-109 Link Here
104
[% MACRO jsinclude BLOCK %]
104
[% MACRO jsinclude BLOCK %]
105
    [% Asset.js("js/acquisitions-menu.js") | $raw %]
105
    [% Asset.js("js/acquisitions-menu.js") | $raw %]
106
    [% INCLUDE 'datatables.inc' %]
106
    [% INCLUDE 'datatables.inc' %]
107
    [% INCLUDE 'calendar.inc' %]
107
    <script>
108
    <script>
108
        function updateRowsVisibility(show_only_renewed) {
109
        function updateRowsVisibility(show_only_renewed) {
109
            if ( show_only_renewed ) {
110
            if ( show_only_renewed ) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersuggestion.tt (+1 lines)
Lines 104-109 Link Here
104
[% MACRO jsinclude BLOCK %]
104
[% MACRO jsinclude BLOCK %]
105
    [% Asset.js("js/acquisitions-menu.js") | $raw %]
105
    [% Asset.js("js/acquisitions-menu.js") | $raw %]
106
    [% INCLUDE 'datatables.inc' %]
106
    [% INCLUDE 'datatables.inc' %]
107
    [% INCLUDE 'calendar.inc' %]
107
    <script>
108
    <script>
108
    $(document).ready(function() {
109
    $(document).ready(function() {
109
        var suggestionst = $("#suggestionst").dataTable($.extend(true, {}, dataTablesDefaults, {
110
        var suggestionst = $("#suggestionst").dataTable($.extend(true, {}, dataTablesDefaults, {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt (-1 / +1 lines)
Lines 12-17 Link Here
12
[% INCLUDE 'browser-strings.inc' %]
12
[% INCLUDE 'browser-strings.inc' %]
13
[% Asset.js("js/browser.js") | $raw %]
13
[% Asset.js("js/browser.js") | $raw %]
14
[% INCLUDE 'select2.inc' %]
14
[% INCLUDE 'select2.inc' %]
15
[% INCLUDE 'calendar.inc' %]
15
[% INCLUDE 'str/cataloging_additem.inc' %]
16
[% INCLUDE 'str/cataloging_additem.inc' %]
16
[% Asset.js("js/cataloging_additem.js") | $raw %]
17
[% Asset.js("js/cataloging_additem.js") | $raw %]
17
</head>
18
</head>
18
- 

Return to bug 11500