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

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (+10 lines)
Lines 483-488 input { Link Here
483
        border-color: #900;
483
        border-color: #900;
484
    }
484
    }
485
485
486
    &.hasDatepicker {
487
        background-image: url("../img/famfamfam/silk/calendar.png");
488
        background-position-x: right;
489
        background-position-y: center;
490
        background-repeat: no-repeat;
491
        border-style: inset outset outset inset;
492
        border-width: 1px;
493
        padding-right: 18px;
494
    }
495
486
    &.submit {
496
    &.submit {
487
        @include default-button;
497
        @include default-button;
488
498
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc (-7 / +2 lines)
Lines 1-6 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<script type="text/javascript">
2
<script>
3
//<![CDATA[
4
3
5
var debug    = "[% debug | html %]";
4
var debug    = "[% debug | html %]";
6
var dformat  = "[% dateformat | html %]";
5
var dformat  = "[% dateformat | html %]";
Lines 128-138 jQuery(function($){ Link Here
128
$(document).ready(function(){
127
$(document).ready(function(){
129
128
130
$.datepicker.setDefaults({
129
$.datepicker.setDefaults({
131
        showOn: "both",
130
        showOn: "focus",
132
        changeMonth: true,
131
        changeMonth: true,
133
        changeYear: true,
132
        changeYear: true,
134
        buttonImage: '[% interface | html %]/[% theme | html %]/img/famfamfam/silk/calendar.png',
135
        buttonImageOnly: true,
136
        showButtonPanel: true,
133
        showButtonPanel: true,
137
        showOtherMonths: true,
134
        showOtherMonths: true,
138
        selectOtherMonths: true,
135
        selectOtherMonths: true,
Lines 170-174 $("#dateofbirth").datepicker({ Link Here
170
        if ( ! is_valid_date( $(this).val() ) ) {$(this).val("");}
167
        if ( ! is_valid_date( $(this).val() ) ) {$(this).val("");}
171
    });
168
    });
172
});
169
});
173
//]]>
174
</script>
170
</script>
175
- 

Return to bug 20729