View the DQSD CVS repository here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/
Update of /cvsroot/dqsd/dqsd
In directory sc8-pr-cvs1:/tmp/cvs-serv22266
Modified Files:
httpinst.js
Log Message:
* Fixed bug where a search was not saved unless the file previously existed (yeah, it
was pretty backwards)
Index: httpinst.js
===================================================================
RCS file: /cvsroot/dqsd/dqsd/httpinst.js,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** httpinst.js 29 Jun 2003 14:58:14 -0000 1.2
--- httpinst.js 3 Dec 2003 09:36:11 -0000 1.3
***************
*** 65,68 ****
--- 65,69 ----
}
+ var cancelInstall = false;
if(!forceOverwrite)
{
***************
*** 70,78 ****
if(fileExists(outputFilePath))
{
! forceOverwrite = confirm("There's already a search
called " + searchName + " in your " + destFolder + " folder. Do you wish to overwrite
it?");
}
}
! if(forceOverwrite)
{
// Save xml file to destination directory
--- 71,79 ----
if(fileExists(outputFilePath))
{
! cancelInstall = !confirm("There's already a search
called " + searchName + " in your " + destFolder + " folder. Do you wish to overwrite
it?");
}
}
! if(!cancelInstall)
{
// Save xml file to destination directory
-------------------------------------------------------
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8
_______________________________________________
DQSD-CVS mailing list
https://lists.sourceforge.net/lists/listinfo/dqsd-cvs
DQSD CVS repository:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/