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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc (-1 / +1 lines)
Lines 27-33 function confirm_reregistration() { Link Here
27
function update_child() {
27
function update_child() {
28
    // var borrowernumbervalue= $("#borrowernumber").attr("value"); 
28
    // var borrowernumbervalue= $("#borrowernumber").attr("value"); 
29
[% IF ( CATCODE_MULTI ) %]
29
[% IF ( CATCODE_MULTI ) %]
30
 window.open('/cgi-bin/koha/members/update-child.pl?op=multi&borrowernumber=[% borrowernumber %]','UpdateChild','width=400,height=300,toolbar=no,scrollbars=no,resizable=yes');
30
 window.open('/cgi-bin/koha/members/update-child.pl?op=multi&borrowernumber=[% borrowernumber %]','UpdateChild','width=400,height=300,toolbar=no,scrollbars=yes,resizable=yes');
31
[% ELSE %]
31
[% ELSE %]
32
 confirm_updatechild();
32
 confirm_updatechild();
33
[% END %]
33
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc (-1 / +1 lines)
Lines 25-31 function confirm_reregistration() { Link Here
25
25
26
function update_child() {
26
function update_child() {
27
[% IF ( CATCODE_MULTI ) %]
27
[% IF ( CATCODE_MULTI ) %]
28
 window.open('update-child.pl?op=multi&borrowernumber=[% borrowernumber %]','UpdateChild','width=400,height=300,toolbar=no,scrollbars=no,resizable=yes');
28
 window.open('update-child.pl?op=multi&borrowernumber=[% borrowernumber %]','UpdateChild','width=400,height=300,toolbar=no,scrollbars=yes,resizable=yes');
29
[% ELSE %]
29
[% ELSE %]
30
 confirm_updatechild();
30
 confirm_updatechild();
31
[% END %]
31
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/update-child.tt (-3 / +16 lines)
Lines 1-6 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Choose Adult category</title>
2
<title>Koha &rsaquo; Choose Adult category</title>
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
5
<script type="text/javascript">
6
	$(document).ready(function() {
7
		$.tablesorter.defaults.widgets = ['zebra'];
8
		$("#catst").tablesorter({
9
			sortList: [[2,0]],
10
			headers: { 0: { sorter: false }}
11
		});
12
	});
13
</script>
4
<style type="text/css"> 
14
<style type="text/css"> 
5
	   #custom-doc { width:29em;*width:28.3em;min-width:377px; margin:auto; text-align:left; } 
15
	   #custom-doc { width:29em;*width:28.3em;min-width:377px; margin:auto; text-align:left; } 
6
</style> 
16
</style> 
Lines 41-52 window.close(); Link Here
41
51
42
<form method="post" action="update-child.pl">
52
<form method="post" action="update-child.pl">
43
<fieldset>
53
<fieldset>
44
<table>
54
<table id="catst">
55
<thead>
45
<tr>
56
<tr>
46
<th>&nbsp;</th>
57
<th>&nbsp;</th>
47
<th>Code</th>
58
<th>Code</th>
48
<th>Description</th>
59
<th>Description</th>
49
</tr>
60
</tr>
61
</thead>
62
<tbody>
50
[% FOREACH CAT_LOO IN CAT_LOOP %]
63
[% FOREACH CAT_LOO IN CAT_LOOP %]
51
<tr>
64
<tr>
52
<td>
65
<td>
Lines 55-60 window.close(); Link Here
55
<td><label for="catcode[% CAT_LOO.catcode %]"><strong>[% CAT_LOO.catdesc %]</strong></label></td> 
68
<td><label for="catcode[% CAT_LOO.catcode %]"><strong>[% CAT_LOO.catdesc %]</strong></label></td> 
56
</tr>
69
</tr>
57
[% END %]
70
[% END %]
71
</tbody>
58
</table>
72
</table>
59
<input type="hidden" name="op" value="update" />
73
<input type="hidden" name="op" value="update" />
60
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
74
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
Lines 72-75 window.close(); Link Here
72
86
73
87
74
</div>
88
</div>
75
[% INCLUDE 'intranet-bottom.inc' %]
89
[% INCLUDE 'popup-bottom.inc' %]
76
- 

Return to bug 6501