Authored by chenchao

support json file

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