[phpcvsview-cvs-updates] phpcvsview phpcvsview.js,1.5,1.6
Status: Pre-Alpha
Brought to you by:
bcheesem
From: Brian C. <bch...@us...> - 2005-02-03 23:51:53
|
Update of /cvsroot/phpcvsview/phpcvsview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1968 Modified Files: phpcvsview.js Log Message: Added support for multiple CVS repositories. Index: phpcvsview.js =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/phpcvsview.js,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** phpcvsview.js 2 Feb 2005 11:56:18 -0000 1.5 --- phpcvsview.js 3 Feb 2005 23:51:41 -0000 1.6 *************** *** 29,32 **** --- 29,47 ---- } + function postBackReposChange(form) + { + var ddRepos=form.reposSelect.value; + var hfRequest=form.URLRequest.value; + if (hfRequest.indexOf("?") == -1) + { + newlocation=hfRequest+'?cr='+ddRepos; + } + else + { + newlocation=hfRequest+'&cr='+ddRepos; + } + location=newlocation; + } + function postBackDiffRequest(form) { |