summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorMichael Brückner <mb (plus) vdr (at) gekrumbel (dot) de>2007-06-01 19:28:44 +0000
committerMichael Brückner <mb (plus) vdr (at) gekrumbel (dot) de>2007-06-01 19:28:44 +0000
commit4e837e9cbb00e90f0f5b83058ab3c18d1115dc10 (patch)
treeeceb24a6df4f49c819404a500e9e2aabdb84204f /pages
parent22df2d0ba4947ceaea09927ca6d51b18cbe03a0c (diff)
downloadvdr-plugin-live-4e837e9cbb00e90f0f5b83058ab3c18d1115dc10.tar.gz
vdr-plugin-live-4e837e9cbb00e90f0f5b83058ab3c18d1115dc10.tar.bz2
- use history.back() onclick at "Cancel" button in edit_timer and
edit_searchtimer.
Diffstat (limited to 'pages')
-rw-r--r--pages/edit_searchtimer.ecpp2
-rw-r--r--pages/edit_timer.ecpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/pages/edit_searchtimer.ecpp b/pages/edit_searchtimer.ecpp
index 75d2e6a..5d6fa9d 100644
--- a/pages/edit_searchtimer.ecpp
+++ b/pages/edit_searchtimer.ecpp
@@ -830,7 +830,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
<td class="buttonpanel" colspan="2">
<button class="green" type="submit" name="test" value="test" onclick="return checksearch();"><$ tr("Test") $></button>
<button class="green" type="submit" name="save" onclick="return checksearch();"><$ tr("Save") $></button>
- <button type="button" class="red" onclick="location.href='searchtimers.html';"><$ tr("Cancel") $></button>
+ <button type="button" class="red" onclick="history.back()"><$ tr("Cancel") $></button>
</td>
<td class="border" style="border-right: 1px solid black"></td>
</tr>
diff --git a/pages/edit_timer.ecpp b/pages/edit_timer.ecpp
index 8b775cb..a672184 100644
--- a/pages/edit_timer.ecpp
+++ b/pages/edit_timer.ecpp
@@ -243,7 +243,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
<td class="border" style="border-left: 1px solid black; border-bottom: 1px solid black"></td>
<td class="buttonpanel" colspan="2" style="border-bottom: 1px solid black">
<button class="green" type="submit"><$ tr("Save") $></button>
- <button type="button" class="red" onclick="location.href='timers.html';"><$ tr("Cancel") $></button>
+ <button type="button" class="red" onclick="history.back()"><$ tr("Cancel") $></button>
</td>
<td class="border" style="border-right: 1px solid black; border-bottom: 1px solid black"></td>
</tr>