NIHVIVO-1464 Return to person rather than publication after adding a publication to a person.
This commit is contained in:
parent
dc772b3a87
commit
814c782c03
1 changed files with 2 additions and 1 deletions
|
@ -207,7 +207,8 @@ SPARQL queries for existing values. --%>
|
||||||
Model model = (Model) application.getAttribute("jenaOntModel");
|
Model model = (Model) application.getAttribute("jenaOntModel");
|
||||||
String objectUri = (String) request.getAttribute("objectUri");
|
String objectUri = (String) request.getAttribute("objectUri");
|
||||||
editConfig.prepareForNonUpdate(model); // we're only adding new, not editing existing
|
editConfig.prepareForNonUpdate(model); // we're only adding new, not editing existing
|
||||||
editConfig.setEntityToReturnTo("?pubUri");
|
// Return to person, not publication. See NIHVIVO-1464.
|
||||||
|
// editConfig.setEntityToReturnTo("?pubUri");
|
||||||
List<String> customJs = new ArrayList<String>(Arrays.asList(JavaScript.JQUERY_UI.path(),
|
List<String> customJs = new ArrayList<String>(Arrays.asList(JavaScript.JQUERY_UI.path(),
|
||||||
JavaScript.CUSTOM_FORM_UTILS.path(),
|
JavaScript.CUSTOM_FORM_UTILS.path(),
|
||||||
"/js/browserUtils.js",
|
"/js/browserUtils.js",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue