Subversion Repositories SmartDukaan

Rev

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

Rev 22614 Rev 22615
Line 107... Line 107...
107
		formData.append("file", $(this)[0].files[0]);
107
		formData.append("file", $(this)[0].files[0]);
108
		jQuery.ajax({
108
		jQuery.ajax({
109
	          url: window.location.hostname + ":8080/profitmandi-web/document-upload",
109
	          url: window.location.hostname + ":8080/profitmandi-web/document-upload",
110
	          type: 'POST',
110
	          type: 'POST',
111
	          headers: {
111
	          headers: {
112
                    'Access-Control-Allow-Origin': '*'
112
                    'Access-Control-Allow-Origin': 'http://test.profitmandi.com'
113
                },
113
                },
114
	          data: formData,
114
	          data: formData,
115
	          	cache: false,
115
	          	cache: false,
116
            contentType: false,
116
            contentType: false,
117
            processData: false,
117
            processData: false,