The text of the submit button should be init getting the val(), and not
the text().
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
$(document).ready(function() {
window.modaction_legend_innerhtml = $("#modaction_legend").text();
- window.action_submit_value = $("#action_submit").text();
+ window.action_submit_value = $("#action_submit").val();
$('#select_template').find("input:submit").hide();
$('#select_template').change(function() {