Changeset 5482
- Timestamp:
- 2003-09-09T15:45:00+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/macros/pref.dm
r4782 r5482 225 225 value = document.PrefForm.l.options[document.PrefForm.l.selectedIndex].value; 226 226 href = location.href; 227 if (href.match(/&l= \\w\\w/)) href = href.replace(/&l=\\w\\w/, "&l=" + value);227 if (href.match(/&l=[\\w\\-]+/)) href = href.replace(/&l=[\\w\\-]+/, "&l=" + value); 228 228 else href += "&l=" + value; 229 229 if (!location.href.match(/&nl=1$/)) href += "&nl=1";
Note:
See TracChangeset
for help on using the changeset viewer.