Updated to include context path for reorder url
This commit is contained in:
parent
1f786920a0
commit
cf7e8ebf64
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ public class IndividualController extends FreemarkerHttpServlet {
|
||||||
//Get special values for cases such as Menu Management editing
|
//Get special values for cases such as Menu Management editing
|
||||||
private void includeSpecialEditingValues(VitroRequest vreq, Map<String, Object> body) {
|
private void includeSpecialEditingValues(VitroRequest vreq, Map<String, Object> body) {
|
||||||
if(vreq.getAttribute(VitroRequest.SPECIAL_WRITE_MODEL) != null) {
|
if(vreq.getAttribute(VitroRequest.SPECIAL_WRITE_MODEL) != null) {
|
||||||
body.put("reorderUrl", DisplayVocabulary.REORDER_MENU_URL);
|
body.put("reorderUrl", vreq.getContextPath() + DisplayVocabulary.REORDER_MENU_URL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue