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#';
---------------------------
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.
DynApi3 debug.js and debug.html