Update of /cvsroot/phpwebapp/top10/templates/proj_list/footer
In directory sc8-pr-cvs1:/tmp/cvs-serv10422/templates/proj_list/footer
Modified Files:
Tag: maisp
list_footer.js
Log Message:
bug fix
Index: list_footer.js
===================================================================
RCS file: /cvsroot/phpwebapp/top10/templates/proj_list/footer/list_footer.js,v
retrieving revision 1.5.2.1
retrieving revision 1.5.2.2
diff -C2 -d -r1.5.2.1 -r1.5.2.2
*** list_footer.js 14 Jan 2004 16:25:59 -0000 1.5.2.1
--- list_footer.js 17 Jan 2004 10:18:07 -0000 1.5.2.2
***************
*** 29,32 ****
--- 29,40 ----
{
var projects = document.proj_list.project;
+
+ if (projects.type=="checkbox")
+ {
+ //there is only 1 project in the list
+ return (projects.checked ? projects.value : '');
+ }
+
+ //else
var checked_projects = new Array;
for(i=0; projects[i]; i++)
|