Authored by chenchao

support json file

... ... @@ -10,7 +10,7 @@ $.fn.ajaxfileupload = function (options) {
onComplete: function (response) { },
onCancel: function () { },
validate_extensions: true,
valid_extensions: ['gif', 'png', 'jpg', 'jpeg'],
valid_extensions: ['gif', 'png', 'jpg', 'jpeg', 'json'],
// added by xuhongyun for upload limit
// 上传大小: 单位kb, 默认限制50mb
// size="500" spec="1500*1500"
... ...