From 039cc30cc1f10b4ba017e7ad72eec374944bf517 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 11 Jun 2014 12:47:28 +0200 Subject: [PATCH] Bug 12150: Add missing space and correct innerHTML typo The previous patch forgot to add a space between the string "Edit action" and the placeholder. Trying to test it, I found a typo: innerhtml does not exist, it should be innerHTML. Signed-off-by: Jonathan Druart --- .../prog/en/modules/tools/marc_modification_templates.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt index bcf3e56..a9b9d3d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt @@ -201,8 +201,8 @@ function editAction( mmta_id, ordering, action, field_number, from_field, from_s document.getElementById('description').value = description; - window.modaction_legend_innerhtml = document.getElementById('modaction_legend').innerhtml; - document.getElementById('modaction_legend').innerhtml = _("Edit action%s").format(ordering); + window.modaction_legend_innerhtml = document.getElementById('modaction_legend').innerHTML; + document.getElementById('modaction_legend').innerHTML = _("Edit action %s").format(ordering); window.action_submit_value = document.getElementById('action_submit').value; document.getElementById('action_submit').value = _("Update action"); @@ -241,7 +241,7 @@ function cancelEditAction() { document.getElementById('conditional_regex').checked = false; - document.getElementById('modaction_legend').innerhtml = window.modaction_legend_innerhtml; + document.getElementById('modaction_legend').innerHTML = window.modaction_legend_innerhtml; document.getElementById('action_submit').value = window.action_submit_value; hide('cancel_edit'); -- 2.0.0.rc2