/trunk/plugins/publicPages/095_attachments/script.js |
---|
41,7 → 41,7 |
success:function(data) { |
if ("error" in data) { |
alert(_L("Error: %1",data.error)); |
} else if (data.status == 0) { |
} else if (data.status >= 0) { |
alert(_L("OK")); |
reloadContent(); |
} else { |
72,7 → 72,7 |
success:function(data) { |
if ("error" in data) { |
alert(_L("Error: %1",data.error)); |
} else if (data.status == 0) { |
} else if (data.status >= 0) { |
alert(_L("OK")); |
$('#fileAttachment').val(''); |
reloadContent(); |