Subversion Repositories munaweb

Rev

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

Rev 152 Rev 170
Line 959... Line 959...
959
                        </div>
959
                        </div>
960
                        <div class="mb-3">
960
                        <div class="mb-3">
961
                        <h4>Located</h4>
961
                        <h4>Located</h4>
962
                        <div class="form-group">
962
                        <div class="form-group">
963
                            <select class="form-control" id="locatedIn" name="locatedIn">
963
                            <select class="form-control" id="locatedIn" name="locatedIn">
964
                                <option value="North%20America" selected="selected">North America</option>
964
                                <option value="North America" selected="selected">North America</option>
965
                                <option value="WorldWide">World Wide</option>
965
                                <option value="WorldWide">World Wide</option>
966
                            </select>
966
                            </select>
967
                        </div>
967
                        </div>
968
                        </div>
968
                        </div>
969
                        <div class="mb-3">
969
                        <div class="mb-3">
Line 2357... Line 2357...
2357
	url += urlfilter;
2357
	url += urlfilter;
2358
 
2358
 
2359
	var xhttp = new XMLHttpRequest();
2359
	var xhttp = new XMLHttpRequest();
2360
 
2360
 
2361
	xhttp.onreadystatechange = function() {
2361
	xhttp.onreadystatechange = function() {
2362
    	if (this.readyState == 4) {
2362
    	if (this.readyState == 4 && this.status == 200) {
-
 
2363
    	    // bugbug empty
2363
			if (document.getElementById('completedItemsOnly').checked) {
2364
			if (document.getElementById('completedItemsOnly').checked) {
2364
				_cb_findCompletedItems(JSON.parse(this.responseText));
2365
				_cb_findCompletedItems(JSON.parse(this.responseText));
2365
			} else {
2366
			} else {
2366
				_cb_findItemsAdvanced(JSON.parse(this.responseText));
2367
				_cb_findItemsAdvanced(JSON.parse(this.responseText));
2367
			}
2368
			}
Line 2409... Line 2410...
2409
 
2410
 
2410
	// Submit the request
2411
	// Submit the request
2411
	var xhttp = new XMLHttpRequest();
2412
	var xhttp = new XMLHttpRequest();
2412
 
2413
 
2413
	xhttp.onreadystatechange = function() {
2414
	xhttp.onreadystatechange = function() {
2414
    	if (this.readyState == 4) {
2415
    	if (this.readyState == 4 && this.status == 200) {
2415
    		_cb_getKeywordRecommendations(JSON.parse(this.responseText));
2416
    		_cb_getKeywordRecommendations(JSON.parse(this.responseText));
2416
        }
2417
        }
2417
    };
2418
    };
2418
 
2419
 
2419
	xhttp.open("GET", configProxyUrl, true);
2420
	xhttp.open("GET", configProxyUrl, true);
Line 2526... Line 2527...
2526
		url += urlfilter;
2527
		url += urlfilter;
2527
 
2528
 
2528
		var xhttp = new XMLHttpRequest();
2529
		var xhttp = new XMLHttpRequest();
2529
 
2530
 
2530
		xhttp.onreadystatechange = function() {
2531
		xhttp.onreadystatechange = function() {
2531
	    	if (this.readyState == 4) {
2532
	    	if (this.readyState == 4 && this.status == 200) {
2532
				if (document.getElementById('completedItemsOnly').checked) {
2533
				if (document.getElementById('completedItemsOnly').checked) {
2533
					_cb_ConvertToCSVfindCompletedItems(JSON.parse(this.responseText));
2534
					_cb_ConvertToCSVfindCompletedItems(JSON.parse(this.responseText));
2534
				} else {
2535
				} else {
2535
					_cb_ConvertToCSVfindItemsAdvanced(JSON.parse(this.responseText));
2536
					_cb_ConvertToCSVfindItemsAdvanced(JSON.parse(this.responseText));
2536
				}
2537
				}
Line 2609... Line 2610...
2609
	url += itemId;
2610
	url += itemId;
2610
 
2611
 
2611
	var xhttp = new XMLHttpRequest();
2612
	var xhttp = new XMLHttpRequest();
2612
 
2613
 
2613
	xhttp.onreadystatechange = function() {
2614
	xhttp.onreadystatechange = function() {
2614
    	if (this.readyState == 4) {
2615
    	if (this.readyState == 4 && this.status == 200) {
2615
    		_cb_GetShippingCosts(JSON.parse(this.responseText));
2616
    		_cb_GetShippingCosts(JSON.parse(this.responseText));
2616
        }
2617
        }
2617
    };
2618
    };
2618
 
2619
 
2619
	xhttp.open("GET", configProxyUrl, true);
2620
	xhttp.open("GET", configProxyUrl, true);
Line 2637... Line 2638...
2637
			url += itemId;
2638
			url += itemId;
2638
 
2639
 
2639
			var xhttp = new XMLHttpRequest();
2640
			var xhttp = new XMLHttpRequest();
2640
 
2641
 
2641
			xhttp.onreadystatechange = function() {
2642
			xhttp.onreadystatechange = function() {
2642
		    	if (this.readyState == 4) {
2643
		    	if (this.readyState == 4 && this.status == 200) {
2643
		    		_cb_GetSingleItem(JSON.parse(this.responseText));
2644
		    		_cb_GetSingleItem(JSON.parse(this.responseText));
2644
		        }
2645
		        }
2645
		    };
2646
		    };
2646
 
2647
 
2647
			xhttp.open("GET", configProxyUrl, true);
2648
			xhttp.open("GET", configProxyUrl, true);
Line 3914... Line 3915...
3914
	url += urlfilter;
3915
	url += urlfilter;
3915
 
3916
 
3916
	var xhttp = new XMLHttpRequest();
3917
	var xhttp = new XMLHttpRequest();
3917
 
3918
 
3918
	xhttp.onreadystatechange = function() {
3919
	xhttp.onreadystatechange = function() {
3919
    	if (this.readyState == 4) {
3920
    	if (this.readyState == 4 && this.status == 200) {
3920
			if (searchIndex === 0) {
3921
			if (searchIndex === 0) {
3921
				_cb_PriceActiveItems(JSON.parse(this.responseText));
3922
				_cb_PriceActiveItems(JSON.parse(this.responseText));
3922
			} else {
3923
			} else {
3923
				_cb_PriceCompletedItems(JSON.parse(this.responseText));
3924
				_cb_PriceCompletedItems(JSON.parse(this.responseText));
3924
			}
3925
			}
Line 3986... Line 3987...
3986
				url += urlfilter;
3987
				url += urlfilter;
3987
 
3988
 
3988
				var xhttp = new XMLHttpRequest();
3989
				var xhttp = new XMLHttpRequest();
3989
 
3990
 
3990
				xhttp.onreadystatechange = function() {
3991
				xhttp.onreadystatechange = function() {
3991
			    	if (this.readyState == 4) {
3992
			    	if (this.readyState == 4 && this.status == 200) {
3992
						if (searchIndex === 0) {
3993
						if (searchIndex === 0) {
3993
							_cb_PriceActiveItems(JSON.parse(this.responseText));
3994
							_cb_PriceActiveItems(JSON.parse(this.responseText));
3994
						} else {
3995
						} else {
3995
							_cb_PriceCompletedItems(JSON.parse(this.responseText));
3996
							_cb_PriceCompletedItems(JSON.parse(this.responseText));
3996
						}
3997
						}
Line 4391... Line 4392...
4391
 
4392
 
4392
	// Submit the request
4393
	// Submit the request
4393
	var xhttp = new XMLHttpRequest();
4394
	var xhttp = new XMLHttpRequest();
4394
 
4395
 
4395
	xhttp.onreadystatechange = function() {
4396
	xhttp.onreadystatechange = function() {
4396
    	if (this.readyState == 4) {
4397
    	if (this.readyState == 4 && this.status == 200) {
4397
    		_cb_findDuplicateListing(JSON.parse(this.responseText));
4398
    		_cb_findDuplicateListing(JSON.parse(this.responseText));
4398
        }
4399
        }
4399
    };
4400
    };
4400
 
4401
 
4401
	xhttp.open("GET", configProxyUrl, true);
4402
	xhttp.open("GET", configProxyUrl, true);
Line 4445... Line 4446...
4445
	url += "&outputSelector=SellerInfo";
4446
	url += "&outputSelector=SellerInfo";
4446
 
4447
 
4447
	var xhttp = new XMLHttpRequest();
4448
	var xhttp = new XMLHttpRequest();
4448
 
4449
 
4449
	xhttp.onreadystatechange = function() {
4450
	xhttp.onreadystatechange = function() {
4450
    	if (this.readyState == 4) {
4451
    	if (this.readyState == 4 && this.status == 200) {
4451
    		_cb_findPotentialDuplicateListing(JSON.parse(this.responseText));
4452
    		_cb_findPotentialDuplicateListing(JSON.parse(this.responseText));
4452
        }
4453
        }
4453
    };
4454
    };
4454
 
4455
 
4455
	xhttp.open("GET", configProxyUrl, true);
4456
	xhttp.open("GET", configProxyUrl, true);