Bugs item #870116, was opened at 2004-01-03 23:27 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105757&aid=870116&group_id=5757
Category: DynAPI 3 API Group: Verified Status: Open Resolution: None Priority: 5 Submitted By: Sam Blum (bs_php) Assigned to: Nobody/Anonymous (nobody) Summary: bug in debug.js and debug.html: Use of dynapi.documentPath Initial Comment: Problem with debug.js when setting the dynapi.library.path absolut (that is a path starting with 'http' or '/' ). E.g. following will case the debugger to fail to load: <script language="Javascript"> dynapi.library.setPath('/_dynapi3/src/'); dynapi.library.include('dynapi.debug'); </script> Correction follows: In debug.js ======== near line 88 use this to set the url variable: --------------------------- var url=''; if (p.indexOf('http')!=0 && p.indexOf('/')!=0) url = dynapi.documentPath; url += p+'ext/debug.html#'; --------------------------- In debug.html ======== near line 53 *and* 104 use this to set the url variable: --------------------------- var url=''; var p = dynapi.library.path; if (p.indexOf('http')!=0 && p.indexOf('/')!=0) url = dynapi.documentPath; url += dynapi.library.path+'ext/'; --------------------------- Corrected files are attached. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105757&aid=870116&group_id=5757 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/[EMAIL PROTECTED]/