Changeset 7651
- Timestamp:
- 2004-06-29T09:16:13+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/macros/pref.dm
r7503 r7651 230 230 else href += "&l=" + value; 231 231 if (!location.href.match(/&nl=1$/)) href += "&nl=1"; 232 while (href.match(/&cc=[\\w]+/)) href = href.replace(/&cc=[\\w]+/, ""); 232 233 location.href = href + getargs(); 233 234 \} … … 238 239 if (href.match(/&v=\\d/)) href = href.replace(/&v=\\d/, "&v=" + value); 239 240 else href += "&v=" + value; 241 while (href.match(/&cc=[\\w]+/)) href = href.replace(/&cc=[\\w]+/, ""); 240 242 location.href = href + getargs(); 241 243 \} … … 247 249 else href += "&nw=" + value; 248 250 if (!location.href.match(/&nl=0$/)) href += "&nl=0"; 251 while (href.match(/&cc=[\\w]+/)) href = href.replace(/&cc=[\\w]+/, ""); 249 252 location.href = href + getargs(); 250 253 \} 251 254 252 255 function updateqt (value) \{ 253 if (value != _cgiargqt_) location.href = location.href + "&qt=" + value + getargs(); 256 if (value != _cgiargqt_) \{ 257 while (href.match(/&cc=[\\w]+/)) href = href.replace(/&cc=[\\w]+/, ""); 258 location.href = location.href + "&qt=" + value + getargs(); 259 \} 254 260 \} 255 261 } … … 445 451 446 452 <input type="hidden" name="e" value="_decodedcompressedoptions_"> 447 448 453 _If_(_collectionoption_,_collectionprefs_) 449 454 _presentationprefs_
Note:
See TracChangeset
for help on using the changeset viewer.