[phpcvsview-cvs-updates] phpcvsview phpcvsview.js,1.3,1.4
Status: Pre-Alpha
Brought to you by:
bcheesem
From: Sijis A. <si...@us...> - 2005-02-01 15:06:56
|
Update of /cvsroot/phpcvsview/phpcvsview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23158 Modified Files: phpcvsview.js Log Message: - added function for language dropdown redirect Index: phpcvsview.js =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/phpcvsview.js,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** phpcvsview.js 1 Feb 2005 07:16:21 -0000 1.3 --- phpcvsview.js 1 Feb 2005 15:06:46 -0000 1.4 *************** *** 14,17 **** --- 14,32 ---- } + function postBackLangChange(form) + { + var ddLang=form.langSelect.value; + var hfRequest=form.URLRequest.value; + if (hfRequest.indexOf("?") == -1) + { + newlocation=hfRequest+'?lg='+ddLang; + } + else + { + newlocation=hfRequest+'&lg='+ddLang; + } + location=newlocation; + } + function postBackDiffRequest(form) { |