Subversion Repositories SmartDukaan

Rev

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

Rev 8980 Rev 9008
Line 25... Line 25...
25
    jQuery.ajax({
25
    jQuery.ajax({
26
        url: "/Support/flipkart-dashboard!uploadOrdersFile",
26
        url: "/Support/flipkart-dashboard!uploadOrdersFile",
27
        type: 'POST',
27
        type: 'POST',
28
        data: formData,
28
        data: formData,
29
        async: false,
29
        async: false,
-
 
30
		beforeSend: function(){
-
 
31
        $('#ajax-spinner').show();
-
 
32
        },
-
 
33
        complete: function(){
-
 
34
        $('#ajax-spinner').hide();
-
 
35
        },
30
        success: function (data) {
36
        success: function (data) {
31
			if(data==""){
37
			if(data==""){
32
			    alert("Orders Created successfully");
38
			    alert("Orders Created successfully");
33
				$('#uploadSnapdealFile')[0].reset();
39
				$('#uploadSnapdealFile')[0].reset();
34
			}
40
			}