summaryrefslogtreecommitdiff
path: root/data/tpl/vnedit
diff options
context:
space:
mode:
Diffstat (limited to 'data/tpl/vnedit')
-rw-r--r--data/tpl/vnedit3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/tpl/vnedit b/data/tpl/vnedit
index 70bf09a5..eaddf8ed 100644
--- a/data/tpl/vnedit
+++ b/data/tpl/vnedit
@@ -105,6 +105,9 @@
<b style="float: none; display: inline; font-weight: bold">Make sure to submit the form after the upload has finished!</b>
</span><br />
<div id="scrfrm" class="$p{st}">...make sure to enable Javascript...</div>
+ <script type="text/javascript">
+ var scrRel = [|.join(', ', map { ($$_{title} = _hchar($$_{title})) =~ s/\\/\\\\/g; $$_{title}=~s/'/\\'/g; "[ $$_{id}, '$$_{language}', '$$_{title}' ]" } @{$d{rel}}).q|];
+ </script>
|},
{ type => 'sub', title => 'Edit summary', short => 'com' },