NIHVIVO-1392 Fix verbose property display form action value

This commit is contained in:
rjy7 2011-03-14 16:19:19 +00:00
parent 4552f2182b
commit 94ed8dab91

View file

@ -177,7 +177,7 @@ public class IndividualController extends FreemarkerHttpServlet {
map = new HashMap<String, Object>();
map.put("verboseFieldValue", String.valueOf(!verbosePropertyDisplayValue)); // the form toggles the current value
map.put("action", ""); // FIX THIS -
map.put("action", vreq.getRequestURI());
map.put("currentValue", verbosePropertyDisplayValue ? "on" : "off");
map.put("newValue", verbosePropertyDisplayValue ? "off" : "on");
} else {