From: James E. F. <jf...@uv...> - 2004-09-23 02:30:13
|
Resending this to the list ... -------- Original Message -------- Subject: Javascript error Date: Thu, 23 Sep 2004 09:20:34 +1000 From: Paul R. Jackson <pa...@ps...> To: <php...@li...> The 'admin/head.inc' file on line 18 is: <form method="post" name="phpesp" onSubmit="saveOrder();" action="<?php echo($GLOBALS['ESPCONFIG']['ME']); ?>"> And the matching </form> tag is in 'admin/foot.inc'. But the saveOrder() javascript function is in 'admin/include/tab/finish.inc' and currently doesn't do anything anyway. Generally this doesn't matter because most pages don't have a submit form button BUT the 'where=purge' page does. So this results in a javascript error: 'Object Expected' i.e. can't find the saveOrder() function. Given this function currently doesn't do anything anyway the quick fix is just to get rid of the onSubmit= from 'admin/head.inc'. Paul ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Paul R. Jackson Experimental Programmer School of Psychology University of Queensland E:pa...@ps... P:3365-6713 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ |