View the DQSD CVS repository here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/
Update of /cvsroot/dqsd/dqsd
In directory usw-pr-cvs1:/tmp/cvs-serv29926
Modified Files:
ChangeLog.txt search.htm
Log Message:
Fixed bug due to old localprefs reported by Guy from upsave
Index: ChangeLog.txt
===================================================================
RCS file: /cvsroot/dqsd/dqsd/ChangeLog.txt,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -d -r1.50 -r1.51
*** ChangeLog.txt 24 Jul 2002 10:27:51 -0000 1.50
--- ChangeLog.txt 24 Jul 2002 12:46:06 -0000 1.51
***************
*** 14,23 ****
Enhancements
! * switches now can contain . and -, e.g., jdk HashMap /1.3
Bug Fixes
* curr - fixed bug with decimal currency conversion (1.23 usd>cad)
!
-- What's new for 3.0.0.22 (beta)
--- 14,23 ----
Enhancements
! * switches now can contain . and -. This is used here: jdk HashMap /1.3
Bug Fixes
* curr - fixed bug with decimal currency conversion (1.23 usd>cad)
! * If you have an old localprefs.js that sets defaultsearch to a nonexistent search,
gg is used.
-- What's new for 3.0.0.22 (beta)
Index: search.htm
===================================================================
RCS file: /cvsroot/dqsd/dqsd/search.htm,v
retrieving revision 1.153
retrieving revision 1.154
diff -C2 -d -r1.153 -r1.154
*** search.htm 24 Jul 2002 06:36:20 -0000 1.153
--- search.htm 24 Jul 2002 12:46:07 -0000 1.154
***************
*** 283,287 ****
// search is there, but disabled
! if ( !searches[search].enabled )
return false;
--- 283,287 ----
// search is there, but disabled
! if (!searches[search].enabled)
return false;
***************
*** 292,300 ****
! function performsearch( fname, term )
{
! if( !fname ) fname = defaultsearch; // if the specified
search does not exist (ie. no default search), set to defaultsearch
! term = term.replace(/^\s+/g, '').replace(/\s+$/g, '') // strip out leading
and trailing spaces
if (searches[fname])
searches[fname].fun(term);
--- 292,307 ----
! function performsearch(fname, term)
{
! // if the specified search does not exist (ie. no default search), set to
defaultsearch
! if (!fname)
! {
! if (!defaultsearch || !searches[defaultsearch]) // bad defaultsearch variable
(e.g., old localprefs.js) -> use gg instead of failing
! fname = "gg";
! else
! fname = defaultsearch;
! }
+ term = term.replace(/^\s+/g, '').replace(/\s+$/g, '') // strip out leading
+and trailing spaces
if (searches[fname])
searches[fname].fun(term);
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
DQSD-CVS mailing list
https://lists.sourceforge.net/lists/listinfo/dqsd-cvs
DQSD CVS repository:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/