Fix error handling in result_assets [SCI-1288]

This commit is contained in:
Oleksii Kriuchykhin 2017-05-17 15:14:35 +02:00
parent 7ec53d493b
commit bbf6d38c50

View file

@ -75,7 +75,7 @@
initPreviewModal();
Comments.initialize();
initNewResultAsset();
}).on('ajax:error', function(xhr, status, e) {
}).on('ajax:error', function(e, xhr) {
$form.renderFormErrors('result', xhr.responseJSON, true, e);
animateSpinner(null, false);
});