Subversion Repositories munaweb

Rev

Rev 68 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 68 Rev 147
Line 14... Line 14...
14
 
14
 
15
	// Submit the request 
15
	// Submit the request 
16
	var xhttp = new XMLHttpRequest();
16
	var xhttp = new XMLHttpRequest();
17
 
17
 
18
	xhttp.onreadystatechange = function() {
18
	xhttp.onreadystatechange = function() {
19
    	if (this.readyState == 4) {
19
    	if (this.readyState == 4 && this.status == 200) {
20
    		_cb_FindProducts(JSON.parse(this.responseText));
20
    		_cb_FindProducts(JSON.parse(this.responseText));
21
        }
21
        }
22
    };
22
    };
23
 
23
 
24
	xhttp.open("GET", configProxyUrl, true);
24
	xhttp.open("GET", configProxyUrl, true);