Error loading JSON file (OK,[object Error]) on IE

163 views
Skip to first unread message

jose antonio arias brenes

unread,
Sep 24, 2013, 12:49:26 PM9/24/13
to flex...@googlegroups.com
I am running a load of my pdf in this code:

        $ ('# DocumentViewer'). FlexPaperViewer (
              {Config: {
                 PDFfile: 'pdf / Modification Interest Rate Test Xls.pdf'
                 RenderingOrder: 'html5'
         }}
);

var url = window.location.href.toString ();
if (location.length == 0) {url = document.URL.toString ();}
if (url.indexOf ("file:")> = 0) {
        jQuery ('# DocumentViewer'). html ("<div 10px 10px 10px 10px; border-style: solid; border-width: 5px; "> </ div>");}

This works fine for Chrome and Firefox, but in IE I get the following error:

SCRIPT5022: Error loading JSON file (OK, [object Error]). Please check your configuration.
eval code (2) 7135 Character Line 1

Any of you have an idea that is failing.

Thank you.
Reply all
Reply to author
Forward
0 new messages