From 0487bac274808d6f9167a27ae372e2ab071a5f07 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Wed, 9 Sep 2009 09:10:48 +0200 Subject: [PATCH] Fixing merge on moremember.pl (Deletion when IndependantBranches) --- .../prog/en/modules/members/moremember.tmpl | 28 ++----------------- members/moremember.pl | 22 --------------- 2 files changed, 3 insertions(+), 47 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl index 7b9639be68..e118d7e5d7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl @@ -66,28 +66,6 @@ $(document).ready(function() { } }); }); -function uncheck_sibling(me){ -nodename=me.getAttribute("name"); -if (nodename =="barcodes[]"){ - var Node=me.parentNode.previousSibling; - while (Node.nodeName!="TD"){Node=Node.previousSibling} - var Nodes=Node.childNodes; - for (var i=0;i @@ -428,9 +406,9 @@ if (nodename =="barcodes[]"){ " checked="checked" style="display: none;" /> - " checked="checked" onclick="uncheck_sibling(this);" /> + " checked="checked" /> - " onclick="uncheck_sibling(this);" /> + " /> @@ -438,7 +416,7 @@ if (nodename =="barcodes[]"){ Return Failed - " onclick="uncheck_sibling(this);" /> + " /> " checked="checked" style="display: none;" /> diff --git a/members/moremember.pl b/members/moremember.pl index 1fcfa57697..0be8a538a2 100755 --- a/members/moremember.pl +++ b/members/moremember.pl @@ -355,7 +355,6 @@ if (C4::Context->preference('ExtendedPatronAttributes')) { $template->param( detailview => 1, AllowRenewalLimitOverride => C4::Context->preference("AllowRenewalLimitOverride"), -<<<<<<< HEAD:members/moremember.pl DHTMLcalendar_dateformat=>C4::Dates->DHTMLcalendar(), roaddetails => $roaddetails, borrowernumber => $borrowernumber, @@ -373,27 +372,6 @@ $template->param( is_child => ($category_type eq 'C'), # reserveloop => \@reservedata, dateformat => C4::Context->preference("dateformat"), -======= - DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar(), - roaddetails => $roaddetails, - borrowernumber => $borrowernumber, - categoryname => $data->{'description'}, - reregistration => $reregistration, - branch => $branch, - totalprice => sprintf("%.2f", $totalprice), - totaldue => sprintf("%.2f", $total), - totaldue_raw => $total, - issueloop => \@issuedata, - overdues_exist => $overdues_exist, - error => $error, - $error => 1, - StaffMember => ($category_type eq 'S'), - is_child => ($category_type eq 'C'), -# reserveloop => \@reservedata, - dateformat => C4::Context->preference("dateformat"), - "dateformat_" . (C4::Context->preference("dateformat") || '') => 1, - samebranch => $samebranch, ->>>>>>> 1be2c41... (bug #3284) fix borrower deletion in independantbranches mode:members/moremember.pl ); output_html_with_http_headers $input, $cookie, $template->output; -- 2.39.5