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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc (-2 / +1 lines)
Lines 65-71 function update_child() { Link Here
65
			{ text: _("Renew Patron"),  onclick: { fn: confirm_reregistration } },
65
			{ text: _("Renew Patron"),  onclick: { fn: confirm_reregistration } },
66
			{ text: _("Set Permissions"), url: "/cgi-bin/koha/members/member-flags.pl?member=[% borrowernumber %]"[% UNLESS CAN_user_permissions %], disabled: true[% END %]},
66
			{ text: _("Set Permissions"), url: "/cgi-bin/koha/members/member-flags.pl?member=[% borrowernumber %]"[% UNLESS CAN_user_permissions %], disabled: true[% END %]},
67
            { text: _("Delete"), [% UNLESS CAN_user_borrowers %]disabled: true, [% END %] onclick: { fn: confirm_deletion } },
67
            { text: _("Delete"), [% UNLESS CAN_user_borrowers %]disabled: true, [% END %] onclick: { fn: confirm_deletion } },
68
			{ text: _("Update Child to Adult Patron") , onclick: { fn: update_child }[% UNLESS is_child" %], disabled: true[% END %]}
68
			{ text: _("Update Child to Adult Patron") , onclick: { fn: update_child }[% UNLESS is_child %], disabled: true[% END %]}
69
		];
69
		];
70
70
71
	    new YAHOO.widget.Button({
71
	    new YAHOO.widget.Button({
72
- 

Return to bug 5974