more tweaks for tmpl vars.
authorMason James <mason.james@liblime.com>
Thu, 3 Jan 2008 07:31:54 +0000 (01:31 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Thu, 3 Jan 2008 07:44:16 +0000 (01:44 -0600)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc

index 642fd67..ada8cf7 100644 (file)
@@ -14,7 +14,7 @@ function confirm_updatechild() {
     var is_confirmed = window.confirm('Are you sure you want to update this child to an Adult catergory? This cannot be undone.');
    
     if (is_confirmed) {
-            window.location='/cgi-bin/koha/members/update-child.pl?op=update&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&catcode=<!-- TMPL_VAR NAME="catcode" -->';
+            window.location='/cgi-bin/koha/members/update-child.pl?op=update&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&catcode=<!-- TMPL_VAR NAME="catcode" -->&catcode_multi=<!-- TMPL_VAR NAME="CATCODE_MULTI" -->';
     }
 }
 
@@ -27,7 +27,7 @@ function confirm_reregistration() {
 
 function update_child() {
     var borrowernumbervalue=document.form.borrowernumber.value; 
-<!-- TMPL_IF NAME="catcode_multi" -->
+<!-- TMPL_IF NAME="CATCODE_MULTI" -->
  window.open('update-child.pl?op=multi&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->','UpdateChild','width=400,height=300,toolbar=no,scrollbars=no,resizable=yes');
 <!-- TMPL_ELSE -->
  confirm_updatechild();