AnsweredAssumed Answered

Dojo loader error  - David Spriggs Widget

Question asked by AlexSabrina on Jan 6, 2016
Latest reply on Jan 11, 2016 by jacobsj

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

Attachments

Outcomes