Lines 1-25
Link Here
|
|
|
1 |
[% USE Asset %] |
1 |
[% USE Branches %] |
2 |
[% USE Branches %] |
2 |
[% USE Categories %] |
3 |
[% USE Categories %] |
3 |
[% USE KohaDates %] |
4 |
[% USE KohaDates %] |
|
|
5 |
[% SET footerjs = 1 %] |
4 |
[% INCLUDE 'doc-head-open.inc' %] |
6 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
<title>Koha › Patrons › Merge patron records</title> |
7 |
<title>Koha › Patrons › Merge patron records</title> |
6 |
[% INCLUDE 'doc-head-close.inc' %] |
8 |
[% INCLUDE 'doc-head-close.inc' %] |
7 |
|
9 |
|
8 |
<script type="text/javascript"> |
|
|
9 |
//<![CDATA[ |
10 |
$(document).ready(function() { |
11 |
$('#merge-patrons').prop('disabled', true); |
12 |
$('#patron-merge-table').on('change', 'input', function() { |
13 |
if ( $('.keeper:checked').length > 0 ) { |
14 |
$('#merge-patrons').prop('disabled', false); |
15 |
} else { |
16 |
$('#merge-patrons').prop('disabled', true); |
17 |
} |
18 |
}); |
19 |
}); |
20 |
//]]> |
21 |
</script> |
22 |
|
23 |
</head> |
10 |
</head> |
24 |
<body id="pat_merge" class="pat"> |
11 |
<body id="pat_merge" class="pat"> |
25 |
[% INCLUDE 'header.inc' %] |
12 |
[% INCLUDE 'header.inc' %] |
Lines 133-136
$(document).ready(function() {
Link Here
|
133 |
[% END %] |
120 |
[% END %] |
134 |
</div> |
121 |
</div> |
135 |
</div> |
122 |
</div> |
|
|
123 |
|
124 |
[% MACRO jsinclude BLOCK %] |
125 |
[% Asset.js("js/members-menu.js") %] |
126 |
|
127 |
<script> |
128 |
$(document).ready(function() { |
129 |
$('#merge-patrons').prop('disabled', true); |
130 |
$('#patron-merge-table').on('change', 'input', function() { |
131 |
if ( $('.keeper:checked').length > 0 ) { |
132 |
$('#merge-patrons').prop('disabled', false); |
133 |
} else { |
134 |
$('#merge-patrons').prop('disabled', true); |
135 |
} |
136 |
}); |
137 |
}); |
138 |
</script> |
139 |
[% END %] |
140 |
|
136 |
[% INCLUDE 'intranet-bottom.inc' %] |
141 |
[% INCLUDE 'intranet-bottom.inc' %] |
137 |
- |
|
|