Updated to include context path for reorder url

This commit is contained in:
hjkhjk54 2011-07-14 19:33:53 +00:00
parent 1f786920a0
commit cf7e8ebf64

View file

@ -216,7 +216,7 @@ public class IndividualController extends FreemarkerHttpServlet {
//Get special values for cases such as Menu Management editing
private void includeSpecialEditingValues(VitroRequest vreq, Map<String, Object> body) {
if(vreq.getAttribute(VitroRequest.SPECIAL_WRITE_MODEL) != null) {
body.put("reorderUrl", DisplayVocabulary.REORDER_MENU_URL);
body.put("reorderUrl", vreq.getContextPath() + DisplayVocabulary.REORDER_MENU_URL);
}
}