cvs: pres2 / index.php
| From: | Christian Wenz | Date: | Sun, 27 Apr 2003 16:55:11 +0000 |
| Subject: | cvs: pres2 / index.php | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-662@lists.php.net to get a copy of this message | ||
wenz Sun Apr 27 12:55:11 2003 EDT
Modified files:
/pres2 index.php
Log:
+ changing display modes now sets the right cookie
Index: pres2/index.php
diff -u pres2/index.php:1.25 pres2/index.php:1.26
--- pres2/index.php:1.25 Sun Apr 27 12:41:49 2003
+++ pres2/index.php Sun Apr 27 12:55:11 2003
@@ -95,7 +95,7 @@
<script language="JavaScript1.2">
<!--
function change_mode() {
- document.cookie="display_mode="+document.modes_form.modes.value+"|"+document.modes_form.speaker.checked;
+ document.cookie="display_mode="+document.modes_form.modes.options[document.modes_form.modes.selectedIndex].value+"|"+document.modes_form.speaker.checked;
top.location=top.location.href;
}
-->