|
From: Jon O. <jon...@us...> - 2006-06-30 12:21:09
|
Update of /cvsroot/mxbb/core/templates/subSilver/admin In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv19796/templates/subSilver/admin Modified Files: mx_pagecp_admin_body.tpl Log Message: updated core pak files js bug in pageCP Index: mx_pagecp_admin_body.tpl =================================================================== RCS file: /cvsroot/mxbb/core/templates/subSilver/admin/mx_pagecp_admin_body.tpl,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mx_pagecp_admin_body.tpl 28 Jun 2006 22:51:44 -0000 1.8 --- mx_pagecp_admin_body.tpl 30 Jun 2006 12:21:05 -0000 1.9 *************** *** 227,235 **** formErrors += "Select a block\r\n"; } ! for (i=0, n=document.forms['DYNAMIC_LIST'].id.length; i<n; i++) { ! if (document.forms['DYNAMIC_LIST'].id[i].checked) { ! is_selected = true; } ! } if (!is_selected) { formErrors += "Select a page column\r\n"; --- 227,243 ---- formErrors += "Select a block\r\n"; } ! if (document.forms['DYNAMIC_LIST'].id.checked) ! { ! is_selected = true; ! } ! else ! { ! for (i=0, n=document.forms['DYNAMIC_LIST'].id.length; i<n; i++) { ! if (document.forms['DYNAMIC_LIST'].id[i].checked || document.forms['DYNAMIC_LIST'].id.checked) { ! is_selected = true; ! continue; ! } } ! } if (!is_selected) { formErrors += "Select a page column\r\n"; |