Verified Commit 2f9977ee authored by Alexandre Morin's avatar Alexandre Morin
Browse files

Fix Display an error when creating a control authority if the fields are empty

parent a1d0ef76
......@@ -116,6 +116,7 @@
if (parameters.controlAuthority.controlAuthorityOrgUnitId == "" || parameters.controlAuthority.originatorOrgUnitId == "" || parameters.controlAuthority.controlAuthorityOrgUnitId == undefined || parameters.controlAuthority.originatorOrgUnitId == undefined) {
gritter.show($("#empty_text").text(), false);
return;
}
ajax($(this), {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment