[Koha-patches] [PATCH] forget to delete a line that is not used.

Nahuel Angelinetti nahuel.angelinetti at biblibre.com
Fri Nov 28 11:38:45 CET 2008


---
 cataloguing/value_builder/unimarc_field_010.pl     |    1 -
 koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl |   17 ++++++++++-------
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/cataloguing/value_builder/unimarc_field_010.pl b/cataloguing/value_builder/unimarc_field_010.pl
index d680d3e..07b8045 100644
--- a/cataloguing/value_builder/unimarc_field_010.pl
+++ b/cataloguing/value_builder/unimarc_field_010.pl
@@ -49,7 +49,6 @@ sub plugin_javascript {
                 var blurcallback010 =
                 {
                     success: function(o){
-                        var reg=new RegExp('^tag_210_subfield_c');
                         var elems = document.getElementsByTagName('input');
                         for( i = 0 ; elems[i] ; i++ )
                         {
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl
index f4b65f5..75d5db3 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl
@@ -318,7 +318,7 @@ $.tablesorter.addParser({
                             <input type="hidden" name="pickup" value="<!-- TMPL_VAR NAME="wbrcd" -->" />
                             <!-- TMPL_ELSE -->
                             Item waiting to be pulled from <b> <!-- TMPL_VAR NAME="wbrname" --></b>
-                        <!-- /TMPL_IF -->
+                            <!-- /TMPL_IF -->
                         <!-- TMPL_ELSE -->
                             Item in transit to <b> <!-- TMPL_VAR NAME="wbrname" --></b> <input type="hidden" name="pickup" value="<!-- TMPL_VAR NAME="wbrcd" -->" />
                         <!-- /TMPL_IF -->
@@ -331,15 +331,18 @@ $.tablesorter.addParser({
                             <!-- /TMPL_IF -->
                     <!-- /TMPL_IF -->
                 </td>
-		<td>
-		<form action="/cgi-bin/koha/opac-modrequest.pl" method="post">
-		<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
-		<input type="submit" name="submit" class="icon delete cancel" value="Cancel" onclick="return confirmDelete('Are you sure you want to cancel this hold?');" /></form>
-		</td>
+        <td>
+        <form action="/cgi-bin/koha/opac-modrequest.pl" method="post">
+        <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
+
+        <!-- TMPL_UNLESS NAME="found" -->
+            <input type="submit" name="submit" class="icon delete cancel" value="Cancel" onclick="return confirmDelete('Are you sure you want to cancel this hold?');" /></form>
+        <!-- /TMPL_UNLESS -->
+        </td>
 
             </tr>
             <!-- /TMPL_LOOP -->
-			</tbody>
+            </tbody>
         </table>
     </div>
     <!-- /TMPL_IF -->
-- 
1.5.6.3




More information about the Koha-patches mailing list