Merge pull request #173 from okriuchykhin/ok_SCI-484

Fix issue with duplicate error messages in experiments modal [SCI-484]
This commit is contained in:
Luka Murn 2016-09-30 08:24:51 +02:00 committed by GitHub
commit c83342d9f0

View file

@ -66,12 +66,12 @@
window.location.replace(data.path);
})
.on('ajax:error', function(e, error) {
form.clearFormErrors();
var msg = JSON.parse(error.responseText);
renderFormError(e,
form.find("#experiment_project_id"),
msg.message.toString());
})
.clearFormErrors();
});
}
}
// Reload after successfully updated experiment