Bug 25696: Correct "Test prediction pattern" HTML button
authorDavid Cook <dcook@prosentient.com.au>
Tue, 9 Jun 2020 05:38:27 +0000 (15:38 +1000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 15 Jun 2020 09:20:35 +0000 (11:20 +0200)
This patch corrects the closing tag for the "Test prediction pattern"
button from "</a>" to "</button>"

Test plan:
1. Apply the patch
2. Create a serial subscription from a new or existing bib record
3. Choose any frequency, numbering pattern, and subscription start
date you choose (ie fill out all mandatory subscription fields)
4. Click "Test prediction pattern"
5. Note that the prediction pattern appears on the right of the screen

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt

index fd603e1..1075e14 100644 (file)
@@ -468,7 +468,7 @@ fieldset.rows table { clear: none; margin: 0; }
                                     </ol>
                                 </div> <!-- /#advancedpredictionpattern -->
                                 <fieldset class="action">
-                                    <button type="button" id="testpatternbutton" class="btn btn-default btn-sm"><i class="fa fa-play"></i> Test prediction pattern</a>
+                                    <button type="button" id="testpatternbutton" class="btn btn-default btn-sm"><i class="fa fa-play"></i> Test prediction pattern</button>
                                 </fieldset>
                             </fieldset>