cvs: phpweb / userprefs.js
| From: | Gabor Hojtsy | Date: | Fri, 06 Jun 2003 18:52:46 +0000 |
| Subject: | cvs: phpweb / userprefs.js | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-18544@lists.php.net to get a copy of this message | ||
goba Fri Jun 6 14:52:46 2003 EDT
Modified files:
/phpweb userprefs.js
Log:
Ups, first is the option, then comes the pattern
Index: phpweb/userprefs.js
diff -u phpweb/userprefs.js:1.2 phpweb/userprefs.js:1.3
--- phpweb/userprefs.js:1.2 Thu Jun 5 15:41:55 2003
+++ phpweb/userprefs.js Fri Jun 6 14:52:46 2003
@@ -48,8 +48,8 @@
if (typeof(lastSearch) == "string") {
// Get pattern and show information from cookie
- pattern = lastSearch.substr(0, lastSearch.indexOf(","));
- option = lastSearch.substr(lastSearch.indexOf(",") + 1);
+ option = lastSearch.substr(0, lastSearch.indexOf(","));
+ pattern = lastSearch.substr(lastSearch.indexOf(",") + 1);
// Set pattern in form
document.forms["topsearch"].pattern.value = pattern;