summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorAndreas Brachold <vdr07@deltab.de>2008-01-19 14:22:11 +0000
committerAndreas Brachold <vdr07@deltab.de>2008-01-19 14:22:11 +0000
commitea2018b5c26b393c96f7c8f8d58de64348033ee9 (patch)
treee91bdb35b3d1368aaf6ebf419ad74fda208026db /html
parent195be1c3970d084140362ba7a9c565edaae6c25e (diff)
downloadxxv-ea2018b5c26b393c96f7c8f8d58de64348033ee9.tar.gz
xxv-ea2018b5c26b393c96f7c8f8d58de64348033ee9.tar.bz2
* TIMERS: html/xstyle: [Bug #12971] javascript to toggle timer failed
Diffstat (limited to 'html')
-rw-r--r--html/javascript/global.js2
-rw-r--r--html/tlist.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/html/javascript/global.js b/html/javascript/global.js
index a05b873..7a5748c 100644
--- a/html/javascript/global.js
+++ b/html/javascript/global.js
@@ -1,5 +1,5 @@
// To status frame und dann refresh der seite
-function tostatus(url, num) {
+function tostatus(url) {
myoldurl = location.href;
location.href = url;
}
diff --git a/html/tlist.tmpl b/html/tlist.tmpl
index cd5801b..16ca69b 100644
--- a/html/tlist.tmpl
+++ b/html/tlist.tmpl
@@ -87,7 +87,7 @@
<?% aus = gettext('Off') %?>
<?% an = gettext('On') %?>
<?% IF allow('ttoggle') %?>
- <a name='<?% zeile.0 %?>' href="javascript:tostatus('?cmd=ttoggle&amp;data=<?% zeile.0 %?>', <?% zeile.0 %?>)" title="<?% gettext("Toggle timer") %?>&nbsp;<?% aktiv ? aus : an %?>"><div class="<?% myclass %?>">[<?% aktiv ? an : aus %?>]</div></a>
+ <a name='<?% zeile.0 %?>' href="javascript:tostatus('?cmd=ttoggle&amp;data=<?% zeile.0 %?>')" title="<?% gettext("Toggle timer") %?>&nbsp;<?% aktiv ? aus : an %?>"><div class="<?% myclass %?>">[<?% aktiv ? an : aus %?>]</div></a>
<?% IF pdc;'(';gettext('PDC');')';END %?>
<?% IF zeile.12 && allow('aedit') %?>
<a href="?cmd=aedit&amp;data=<?% zeile.12 %?>" title="<?% gettext("Edit autotimer") %?>"><div class="<?% myclass %?>">(AT)</div></a><br>