Subversion Repositories SmartDukaan

Rev

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

Rev 25066 Rev 25093
Line 243... Line 243...
243
	doAjaxDownload(urlString, "POST", data, fileName);
243
	doAjaxDownload(urlString, "POST", data, fileName);
244
}
244
}
245
 
245
 
246
function doAjaxDownload(urlString, httpType, data, fileName) {
246
function doAjaxDownload(urlString, httpType, data, fileName) {
247
	xhttp = new XMLHttpRequest();
247
	xhttp = new XMLHttpRequest();
-
 
248
	if (typeof loaderDialogObj != "undefined")
-
 
249
		loaderDialogObj.modal('show');
248
	xhttp.onreadystatechange = function() {
250
	xhttp.onreadystatechange = function() {
249
		var a;
251
		var a;
250
		if (xhttp.readyState === 2) {
252
		if (xhttp.readyState === 2) {
251
			if (xhttp.status == 200) {
253
			if (xhttp.status == 200) {
252
				xhttp.responseType = "blob";
254
				xhttp.responseType = "blob";