rjy7 2010-07-21 14:27:51 +00:00
parent cb14df3cf7
commit 4482d2556d

View file

@ -237,13 +237,13 @@ PREFIX core: <${vivoCore}>
String objectUri = (String) request.getAttribute("objectUri");
if (objectUri != null) {
editConfig.prepareForObjPropUpdate(model);
// Return browser to person individual after editing an existing role.
} else {
editConfig.prepareForNonUpdate(model);
// Return the browser to the new activity entity after adding a new role.
editConfig.setEntityToReturnTo("?grant");
}
//this will return the browser to the new grant entity after an edit.
editConfig.setEntityToReturnTo("?grant");
String subjectUri = vreq.getParameter("subjectUri");
List<String> customJs = new ArrayList<String>(Arrays.asList(JavaScript.JQUERY_UI.path(),