Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserSettings/templates/graph.tpl')
-rw-r--r--plugins/UserSettings/templates/graph.tpl9
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/UserSettings/templates/graph.tpl b/plugins/UserSettings/templates/graph.tpl
index c49fe79b8d..9c25a5a320 100644
--- a/plugins/UserSettings/templates/graph.tpl
+++ b/plugins/UserSettings/templates/graph.tpl
@@ -2,13 +2,8 @@
{$jsInvocationTag}
<br/><br/>
<small>
-<form name="urlForm" id="urlForm">
-Embed <input
-name="embed_code"
-value="{$codeEmbed|escape}"
-onclick="javascript:document.urlForm.embed_code.focus();document.urlForm.embed_code.select();"
-readonly="true"
-type="text">
+<form name="urlForm" id="{$formId}">
+Embed <input name="embed_code" value="{$codeEmbed}" onclick="javascript:document.getElementById('{$formId}').embed_code.focus();document.getElementById('{$formId}').embed_code.select();" readonly="true" type="text">
| <a target="_blank" href="{$urlData}">Graph data</a>
</form>