Bugzilla – Attachment 28775 Details for
Bug 12150
Use more placeholders in translatable javascript strings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12150: Add missing space and correct innerHTML typo
Bug-12150-Add-missing-space-and-correct-innerHTML-.patch (text/plain), 2.08 KB, created by
Jonathan Druart
on 2014-06-11 10:49:27 UTC
(
hide
)
Description:
Bug 12150: Add missing space and correct innerHTML typo
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-06-11 10:49:27 UTC
Size:
2.08 KB
patch
obsolete
>From 039cc30cc1f10b4ba017e7ad72eec374944bf517 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >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 <jonathan.druart@biblibre.com> >--- > .../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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12150
:
27697
|
28733
|
28774
| 28775