Showing
2 changed files
with
4 additions
and
4 deletions
| @@ -1545,9 +1545,9 @@ var initAjaxFileUpload = function(selector){ | @@ -1545,9 +1545,9 @@ var initAjaxFileUpload = function(selector){ | ||
| 1545 | $('.' + class_name).find('.progress-bar').css('width', '0%'); | 1545 | $('.' + class_name).find('.progress-bar').css('width', '0%'); |
| 1546 | }, | 1546 | }, |
| 1547 | send: function(e, data){ | 1547 | send: function(e, data){ |
| 1548 | - if(data.files[0].type == ''){ | ||
| 1549 | - data.formData['content-type'] = data.files[0].type; | ||
| 1550 | - } | 1548 | + //if(data.files[0].type != ''){ |
| 1549 | + data.formData['content-type'] = data.files[0].type; | ||
| 1550 | + //} | ||
| 1551 | }, | 1551 | }, |
| 1552 | done: function (e, data) { | 1552 | done: function (e, data) { |
| 1553 | submitButton.prop('disabled', false); | 1553 | submitButton.prop('disabled', false); |