Skip to content

Commit

Permalink
TRUNK-3811: On successful save of Concept one should go to View Conce…
Browse files Browse the repository at this point in the history
…pt Screen

(cherry picked from commit cec2f0d)
  • Loading branch information
saramirza14 authored and dkayiwa committed May 29, 2013
1 parent 46bdca0 commit 9830c6e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -250,7 +250,7 @@ protected ModelAndView onSubmit(HttpServletRequest request, HttpServletResponse
ValidateUtil.validate(concept, errors);
if (!errors.hasErrors()) {
if (action.equals(msa.getMessage("Concept.cancel"))) {
return new ModelAndView(new RedirectView("concept.htm" + "?conceptId=" + concept.getConceptId()));
return new ModelAndView(new RedirectView("index.htm"));
}
cs.saveConcept(concept);
httpSession.setAttribute(WebConstants.OPENMRS_MSG_ATTR, "Concept.saved");
Expand Down

0 comments on commit 9830c6e

Please sign in to comment.