BUGFIX new_acq (Javascript error under certain circumstances)
authorPaul Poulain <paul.poulain@biblibre.com>
Wed, 3 Jun 2009 10:59:22 +0000 (12:59 +0200)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 30 Sep 2009 09:30:24 +0000 (11:30 +0200)
the parent_id must be displayed even for the 1st budget, otherwise, javascript error

koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tmpl

index db599e0..655b7e7 100644 (file)
     <label for="parents">Budget Parent: </label>
     <!-- TMPL_VAR NAME="budget_parent_dropbox" -->
 
-    <!-- TMPL_IF NAME="budget_id" -->
-        <input type="hidden" name="budget_parent_id" value="<!-- TMPL_VAR NAME="budget_parent_id" -->" />
-    <!-- /TMPL_IF -->
+    <input type="hidden" name="budget_parent_id" value="<!-- TMPL_VAR NAME="budget_parent_id" -->" />
     </li>
 
     <li>