In Firefox I get this error:
- Fel: Error: http error2 :<!DOCTYPE html>
-
-
-
-
-
- <html class="no-js" lang="sv">
-
- <head>
- <meta charset="utf-8" />
- <title>Skapa nyhet</title>
- <link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />
-
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <link href="/Content/foundation/AdminFoundation.css" rel="stylesheet"/>
-
-
- //etc all html code in the file
-
- Källkodsfil: http://www.mydomain.se/Scripts/richtexteditor/scripts/loader.js
-
- Rad: 72
Row 72 is:
runcode=new Function("","eval(arguments[0])");
It's from this code:
var xh=createxh(); xh.open("GET",url,true); xh.onreadystatechange=function() { if(xh.readyState!=4)return; xh.onreadystatechange=new Function("",""); setTimeout(runcallbacks,0); if(xh.status!=200) { item.succeed=false; item.loading='httperror:'+xh.status; throw(new Error("failed to load "+url+" , \r\n http"+xh.status)); } try { var code=xh.responseText; if(!runcode) runcode=new Function("","eval(arguments[0])"); runcode(code); item.loading=null; } catch(x) { item.loading='scripterror:'+x.message; throw(new Error("failed to load "+url+" , \r\n"+x.message)); } } xh.send(""); }