Commit 17076f5f authored by Alexis Ragot's avatar Alexis Ragot

fix bug on empty fields

parent 60916e4a
......@@ -252,7 +252,7 @@
}
}
if (!selectedProfile && !archive.name && !archive.originatorArchiveId && !archive.originatingDate && archive.digitalResources == null) {
if (!selectedProfile && !archive.archiveName && !archive.originatorArchiveId && !archive.originatingDate && archive.digitalResources == null) {
gritter.show($("#message_requiredFieldOnEmptyForm").text(), false);
return -3;
}
......
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