Fix for Bug 2869, 'do not delete' marc framework tag - reverts to 'default' framework
authorOwen Leonard <oleonard@myacpl.org>
Fri, 25 Dec 2009 02:35:43 +0000 (21:35 -0500)
committerGalen Charlton <gmcharlt@gmail.com>
Mon, 8 Feb 2010 15:50:21 +0000 (10:50 -0500)
- "Do not delete" form was missing hidden framework code input.
- Also added details to breadcrumb navigation

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tmpl

index 31e757d..34153ef 100644 (file)
@@ -43,8 +43,10 @@ $(document).ready(function() {
 <!-- TMPL_ELSIF name="else" -->
 &rsaquo; <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" -->"><!-- TMPL_VAR NAME="frameworktext" --> (<!-- TMPL_VAR NAME="frameworkcode" -->)</a>
 <!-- TMPL_ELSIF name="delete_confirm" -->
+&rsaquo; <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" -->"><!-- TMPL_VAR NAME="frameworktext" --> (<!-- TMPL_VAR NAME="frameworkcode" -->)</a>
 &rsaquo; Confirm Deletion of Tag '<!-- TMPL_VAR name="searchfield" -->'
 <!-- TMPL_ELSIF name="delete_confirmed" -->
+&rsaquo; <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" -->"><!-- TMPL_VAR NAME="frameworktext" --> (<!-- TMPL_VAR NAME="frameworkcode" -->)</a>
 &rsaquo; Data Deleted
 <!-- /TMPL_IF -->
 </div>
@@ -94,7 +96,7 @@ $(document).ready(function() {
        <input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" /><input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR NAME="frameworkcode" -->" />
        <input type="submit" class="approve" value="Yes, Delete this Tag" /></form>
        
-       <form action="<!-- TMPL_VAR NAME="script_name" -->" method="get"><input type="submit" value="No, Do Not Delete" class="deny" /></form></div>
+       <form action="<!-- TMPL_VAR NAME="script_name" -->" method="get"><input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR NAME="frameworkcode" -->" /><input type="submit" value="No, Do Not Delete" class="deny" /></form></div>
 <!-- /TMPL_IF -->
 
 <!-- TMPL_IF NAME="delete_confirmed" -->