NIHVIVO-143 Allow adding a new moniker from the front end
This commit is contained in:
parent
87a97cd8df
commit
bcbe290c51
10 changed files with 146 additions and 39 deletions
|
@ -380,7 +380,7 @@ and set a flag in the request to indicate "back button confusion"
|
|||
int dpropHash = Integer.parseInt(editConfig.getDatapropKey());
|
||||
String vitroNsProp = vreq.getParameter("vitroNsProp");
|
||||
boolean isVitroNsProp = vitroNsProp != null && vitroNsProp.equals("true");
|
||||
DataPropertyStatement dps = RdfLiteralHash.getPropertyStmtByHash(subject, dpropHash, model, isVitroNsProp);
|
||||
DataPropertyStatement dps = RdfLiteralHash.getPropertyStmtByHash(subject, editConfig.getPredicateUri(), dpropHash, model, isVitroNsProp);
|
||||
|
||||
if (dps != null)
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue