[Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en includes/j... [rel_3_0]

Bruno Toumi btoumi at ouestprovence.fr
Wed Dec 6 11:23:11 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Bruno Toumi <btoumi>	06/12/06 10:23:11

Modified files:
	koha-tmpl/intranet-tmpl/prog/en/includes/javascript: members.js 
	koha-tmpl/intranet-tmpl/prog/en/members: memberentryC.tmpl 

Log message:
	fix minor bug : add declaration for variable in member.js
	add in memberentryC.tmpl button to delete link with guarantor

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/includes/javascript/members.js?cvsroot=koha&only_with_tag=rel_3_0&r1=1.4.2.4&r2=1.4.2.5
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/members/memberentryC.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.9.2.12&r2=1.9.2.13

Patches:
Index: includes/javascript/members.js
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/includes/javascript/members.js,v
retrieving revision 1.4.2.4
retrieving revision 1.4.2.5
diff -u -b -r1.4.2.4 -r1.4.2.5
--- includes/javascript/members.js	27 Nov 2006 17:53:45 -0000	1.4.2.4
+++ includes/javascript/members.js	6 Dec 2006 10:23:11 -0000	1.4.2.5
@@ -173,12 +173,12 @@
 }
 function Dopop(link) {
 // // 	var searchstring=document.form.value[i].value;
-	newin=window.open(link,'popup','width=600,height=400,resizable=no,toolbar=false,scrollbars=no,top');
+	var newin=window.open(link,'popup','width=600,height=400,resizable=no,toolbar=false,scrollbars=no,top');
 }
 
 function Dopopguarantor(link) {
 
-	newin=window.open(link,'popup','width=600,height=400,resizable=no,toolbar=false,scrollbars=no,top');
+	var newin=window.open(link,'popup','width=600,height=400,resizable=no,toolbar=false,scrollbars=no,top');
 }
 
 </script>

Index: members/memberentryC.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/members/memberentryC.tmpl,v
retrieving revision 1.9.2.12
retrieving revision 1.9.2.13
diff -u -b -r1.9.2.12 -r1.9.2.13
--- members/memberentryC.tmpl	17 Nov 2006 10:53:44 -0000	1.9.2.12
+++ members/memberentryC.tmpl	6 Dec 2006 10:23:11 -0000	1.9.2.13
@@ -179,7 +179,9 @@
 		</p>
 	
 	<p>
+	<input name="guarantordelete" type="button" value="Delete Guarantor" onClick="javascript:document.form.guarantorid.value='';document.form.guarantorinfo.value='',document.form.guarantorsearch.value='Find guarantor';">
 	<!-- TMPL_IF NAME="guarantorid"-->	
+		
 		<input name="guarantorsearch" type="button" value="Modify Guarantor" onClick="javascript:Dopopguarantor('guarantor_search.pl');">
 	<!-- TMPL_ELSE -->
 		<input name="guarantorsearch" type="button" value="Find guarantor" onClick="javascript:Dopopguarantor('guarantor_search.pl');">





More information about the Koha-cvs mailing list