Hi all,
I am trying to use a great Print widget created by David Spriggs in my web app. Although it works great, from time to time, I get a dojo loader error thrown at me. I noticed the same error on his github. A pic of the error I get in debugger is attached below.
Script is following:
<script>
var dojoConfig = { isDebug: true };
</script>
<script type="text/javascript">
var dojoConfig = {
async: true,
packages: [{
name: "gis",
location: location.pathname.replace(/[^\/]+$/, '') + "Widget/Print/gis/"
}, {
name: "dbootstrap",
location: location.pathname.replace(/[^\/]+$/, '') + "Widget/Print/dbootstrap"
}, {
name: "xstyle",
location: location.pathname.replace(/[^\/]+$/, '') + "Widget/Print/dbootstrap"
},
{
name: "agsjs",
location: location.pathname.replace(/[^\/]+$/, '') + "Widget/toc/2.10/src/agsjs/"
}
]
};
</script>Any idea what's wrong?
Thank you,
Alex