setMenu();
_openStudy = getOpenStudy();
+ // updating current step and doc relations
+ _openStudy.updateCurrentStep();
Step step = _openStudy.getSelectedStep();
if (getStepService().removeDocument(step, Long.valueOf(_index))) { // Updates the data structure
}
_openStudy = open(getStudyService().selectStudy(
_openStudy.getIndex())); // Closes the previously open study
+ //updating relations and pop-up menu
+ _openStudy.updateCurrentStep();
_openStudy.setSelection(_selection);
}
return SUCCESS;