Re: Error with images

  •  09-27-2012, 3:52 PM

    Re: Error with images

    In Firefox I get this error:

    1. Fel: Error: http error2 :<!DOCTYPE html>  
    2. <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->  
    3. <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="sv"> <![endif]-->  
    4. <!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8" lang="sv"> <![endif]-->  
    5. <!--[if IE 8]>    <html class="no-js lt-ie9" lang="sv"> <![endif]-->  
    6. <!--[if gt IE 8]><!-->  
    7. <html class="no-js" lang="sv">  
    8. <!--<![endif]-->  
    9. <head>  
    10.     <meta charset="utf-8" />  
    11.     <title>Skapa nyhet</title>  
    12.     <link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />  
    13.       
    14.     <meta name="viewport" content="width=device-width, initial-scale=1" />  
    15.     <link href="/Content/foundation/AdminFoundation.css" rel="stylesheet"/>  
    16.   
    17.    
    18. //etc all html code in the file  
    19.   
    20. Källkodsfil: http://www.mydomain.se/Scripts/richtexteditor/scripts/loader.js  
    21.   
    22. 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(""); } 
     

View Complete Thread