summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/code-error.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/global/code-error.html.tmpl')
-rw-r--r--template/en/default/global/code-error.html.tmpl12
1 files changed, 3 insertions, 9 deletions
diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl
index 8a0b459b3..1c3422fa8 100644
--- a/template/en/default/global/code-error.html.tmpl
+++ b/template/en/default/global/code-error.html.tmpl
@@ -430,15 +430,9 @@
with details of what you were doing at the time this message appeared.
</p>
-<samp>
- <script type="text/javascript"> <!--
- document.write("<p>URL: " +
- document.location.href.replace(/&/g,"&amp;")
- .replace(/</g,"&lt;")
- .replace(/>/g,"&gt;") + "</p>");
- // -->
- </script>
-</samp>
+<p>
+ <samp>URL: [% Bugzilla.cgi.self_url FILTER html %]</samp>
+</p>
<div id="error_msg" class="throw_error">
[% error_message FILTER none %]