| @@ -302,9 +302,9 @@ | ||
| 302 | 302 | cache: false, |
| 303 | 303 | data: vboDropFilesFormData, |
| 304 | 304 | success: function(resp) { |
| 305 | 305 | try { |
| 306 | - resp = JSON.parse(resp); | |
| 306 | + resp = typeof resp === 'string' ? JSON.parse(resp) : resp; | |
| 307 | 307 | |
| 308 | 308 | if (resp.status == 1) { |
| 309 | 309 | status.complete(resp); |
| 310 | 310 | } else { |