summaryrefslogtreecommitdiff
path: root/libs/debug.tpl
diff options
context:
space:
mode:
authoruwetews <uwe.tews@googlemail.com>2015-09-15 00:18:17 +0200
committeruwetews <uwe.tews@googlemail.com>2015-09-15 00:18:17 +0200
commitceb9afbb5d69024f33ffa909c36c899f280bea85 (patch)
tree81c8502dc71d7fdbb0904e0707a2e449d9907602 /libs/debug.tpl
parent0eb7f4b8d10068e6a9a653f2bb6933dd73a33cb6 (diff)
downloadsmarty-ceb9afbb5d69024f33ffa909c36c899f280bea85.tar.gz
smarty-ceb9afbb5d69024f33ffa909c36c899f280bea85.tar.bz2
smarty-ceb9afbb5d69024f33ffa909c36c899f280bea85.zip
- bugfix unintended multiple debug windows (forum topic 25699)
Diffstat (limited to 'libs/debug.tpl')
-rw-r--r--libs/debug.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/debug.tpl b/libs/debug.tpl
index 1f77ac62..5526cbca 100644
--- a/libs/debug.tpl
+++ b/libs/debug.tpl
@@ -152,7 +152,7 @@
</html>
{/capture}
<script type="text/javascript">
- {$id = ''}
+ {$id = '__Smarty__'}
{if $display_mode}{$id = "$offset$template_name"|md5}{/if}
_smarty_console = window.open("", "console{$id}", "width=1024,height=600,left={$offset},top={$offset},resizable,scrollbars=yes");
_smarty_console.document.write("{$debug_output|escape:'javascript' nofilter}");