From: SourceForge.net <no...@so...> - 2004-09-23 15:15:46
|
Bugs item #1033402, was opened at 2004-09-23 09:25 Message generated for change (Comment added) made by greggmc You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1033402&group_id=8956 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Matthew Gregg (greggmc) >Assigned to: Matthew Gregg (greggmc) Summary: Javascript error Initial Comment: Submitted by beachbum_boy 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'. ---------------------------------------------------------------------- >Comment By: Matthew Gregg (greggmc) Date: 2004-09-23 10:15 Message: Logged In: YES user_id=14116 Fixed in CVS. ---------------------------------------------------------------------- Comment By: Matthew Gregg (greggmc) Date: 2004-09-23 10:15 Message: Logged In: YES user_id=14116 The function actually does do something in the question create/edit ordering tab. The current management interface includes the form that is used there, everwhere, so the added "onSubmit" was included as well(see head.inc). I've removed the "onSubmit" from the form included in head.inc and added an additional form to tab.inc that containts the needed "onSubmit". ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1033402&group_id=8956 |