diff options
| author | Andreas Brachold <vdr07@deltab.de> | 2008-01-19 14:22:11 +0000 |
|---|---|---|
| committer | Andreas Brachold <vdr07@deltab.de> | 2008-01-19 14:22:11 +0000 |
| commit | 9e8c8abde0671463e025a8bf2d85ff3577d8afc6 (patch) | |
| tree | d6401b1f314626c992878835575f816b113597ae | |
| parent | 2d0bf21a529fd2fffb997ba660ce2f7a0d3f140f (diff) | |
| download | xxv-9e8c8abde0671463e025a8bf2d85ff3577d8afc6.tar.gz xxv-9e8c8abde0671463e025a8bf2d85ff3577d8afc6.tar.bz2 | |
* TIMERS: html/xstyle: [Bug #12971] javascript to toggle timer failed
| -rw-r--r-- | skins/xstyle/javascript/global.js | 2 | ||||
| -rw-r--r-- | skins/xstyle/tlist.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/skins/xstyle/javascript/global.js b/skins/xstyle/javascript/global.js index 87f8741..e07f2df 100644 --- a/skins/xstyle/javascript/global.js +++ b/skins/xstyle/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/skins/xstyle/tlist.tmpl b/skins/xstyle/tlist.tmpl index e4865c6..e290b48 100644 --- a/skins/xstyle/tlist.tmpl +++ b/skins/xstyle/tlist.tmpl @@ -85,7 +85,7 @@ <?% aus = gettext('Off') %?> <?% an = gettext('On') %?> <?% IF allow('ttoggle') %?> - <a name='<?% zeile.0 %?>' href="javascript:tostatus('?cmd=ttoggle&data=<?% zeile.0 %?>', <?% zeile.0 %?>)" title="<?% gettext("Toggle timer") %?> <?% aktiv ? aus : an %?>"><img src="images/<?% aktiv ? "on.png" : "off.png" %?>"></a><br/> + <a name='<?% zeile.0 %?>' href="javascript:tostatus('?cmd=ttoggle&data=<?% zeile.0 %?>')" title="<?% gettext("Toggle timer") %?> <?% aktiv ? aus : an %?>"><img src="images/<?% aktiv ? "on.png" : "off.png" %?>"></a><br/> <!-- <?% IF zeile.12 && allow('aedit') %?> <a href="?cmd=aedit&data=<?% zeile.12 %?>" title="<?% gettext("Edit autotimer") %?>"><img src="images/at.png"></a><br> |
