|
From: Jon O. <jon...@us...> - 2006-09-11 17:19:36
|
Update of /cvsroot/mxbb/core/templates/subSilver/admin In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv12914/templates/subSilver/admin Modified Files: mx_module_admin_body.tpl Log Message: JS bug Index: mx_module_admin_body.tpl =================================================================== RCS file: /cvsroot/mxbb/core/templates/subSilver/admin/mx_module_admin_body.tpl,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** mx_module_admin_body.tpl 28 Jun 2006 22:51:44 -0000 1.9 --- mx_module_admin_body.tpl 11 Sep 2006 17:19:31 -0000 1.10 *************** *** 164,176 **** } ! function checkForm() { formErrors = ''; ! if (document.forms['post'].module_name.value.length < 2) { formErrors += "Fill out the module title\r\n"; } ! if (document.forms['post'].module_desc.value.length < 2) { formErrors += "Fill out the module description\r\n"; } ! if (document.forms['post'].module_path.value.length < 2) { formErrors += "Fill out the module path\r\n"; } --- 164,176 ---- } ! function checkForm(form) { formErrors = ''; ! if (form.module_name.value.length < 2) { formErrors += "Fill out the module title\r\n"; } ! if (form.module_desc.value.length < 2) { formErrors += "Fill out the module description\r\n"; } ! if (form.module_path.value.length < 2) { formErrors += "Fill out the module path\r\n"; } *************** *** 180,186 **** return false; } else { - bbstyle(-1); - //formObj.preview.disabled = true; - //formObj.submit.disabled = true; return true; } --- 180,183 ---- |