Subversion Repositories SmartDukaan

Rev

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

Rev 22613 Rev 22614
Line 106... Line 106...
106
	    that = this;
106
	    that = this;
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: {
-
 
112
                    'Access-Control-Allow-Origin': '*'
-
 
113
                },
111
	          data: formData,
114
	          data: formData,
112
	          	cache: false,
115
	          	cache: false,
113
            contentType: false,
116
            contentType: false,
114
            processData: false,
117
            processData: false,
115
	           success: function (data) {
118
	           success: function (data) {