FIX: UploadField error when attempting to attach non-existent file IDs

This commit is contained in:
Loz Calver 2015-09-09 09:24:56 +01:00
parent 7c09f82770
commit 06cc18526a

View File

@ -316,6 +316,8 @@
indicator.remove();
},
success: function(data, status, xhr) {
if (!data || $.isEmptyObject(data)) return;
self.fileupload('attach', {
files: data,
options: self.fileupload('option'),