Subversion Repositories munaweb

Rev

Rev 147 | Rev 158 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 147 Rev 148
Line 1786... Line 1786...
1786
 
1786
 
1787
    var xhttp = new XMLHttpRequest();
1787
    var xhttp = new XMLHttpRequest();
1788
 
1788
 
1789
    xhttp.onreadystatechange = function() {
1789
    xhttp.onreadystatechange = function() {
1790
        if (this.readyState == 4 && this.status == 200) {
1790
        if (this.readyState == 4 && this.status == 200) {
-
 
1791
            if (this.responseText) {
1791
            _cb_getThumbNail(JSON.parse(this.responseText));
1792
                _cb_getThumbNail(JSON.parse(this.responseText));
-
 
1793
            } else {
-
 
1794
                getThumbNail(itemId);
-
 
1795
            }
1792
        }
1796
        }
1793
    };
1797
    };
1794
 
1798
 
1795
    xhttp.open("GET", configProxyUrl, true);
1799
    xhttp.open("GET", configProxyUrl, true);
1796
    xhttp.setRequestHeader("X-Proxy-Url", encodeURI(url));
1800
    xhttp.setRequestHeader("X-Proxy-Url", encodeURI(url));