From a99d65a96128a255e96194c189d8510788b8ebeb Mon Sep 17 00:00:00 2001 From: mka Date: Wed, 3 Apr 2013 15:00:27 +0000 Subject: [PATCH] Promote, Demote, Validate... operations are available without refresh operation. --- .../splat/simer/DisplayStudyStepAction.java | 10 ++--- Workspace/Siman/src/struts.xml | 39 ++++++++++--------- 2 files changed, 25 insertions(+), 24 deletions(-) diff --git a/Workspace/Siman/src/org/splat/simer/DisplayStudyStepAction.java b/Workspace/Siman/src/org/splat/simer/DisplayStudyStepAction.java index 8d37755..7e35326 100644 --- a/Workspace/Siman/src/org/splat/simer/DisplayStudyStepAction.java +++ b/Workspace/Siman/src/org/splat/simer/DisplayStudyStepAction.java @@ -48,11 +48,11 @@ public class DisplayStudyStepAction extends AbstractDisplayAction { if (_myindex == null) { if (_selection == null) { // Opening a study just newed _selection = _openStudy.getSelection(); // Default selection - } else { // Re-opening (refreshing) the currently open study - _openStudy = open(getStudyService().selectStudy( - _openStudy.getIndex())); // Closes the previously open study - _openStudy.setSelection(_selection); - } + } + // Re-opening (refreshing) the currently open study + _openStudy = open(getStudyService().selectStudy( + _openStudy.getIndex())); // Closes the previously open study + _openStudy.setSelection(_selection); } else { try { // Opening a study from the search result int index = Integer.valueOf(_myindex); diff --git a/Workspace/Siman/src/struts.xml b/Workspace/Siman/src/struts.xml index 23c10e3..965f780 100644 --- a/Workspace/Siman/src/struts.xml +++ b/Workspace/Siman/src/struts.xml @@ -97,11 +97,12 @@ page.home + page.home select?menu=search - study/step-study + study/open-study study/step-knowledge @@ -127,9 +128,9 @@ page.home - - study/new-empty - + + study/new-empty + study/new-copy @@ -185,21 +186,21 @@ /study/jsonCheckoutRes.jsp - - - page.newstudy - - - - - open-study?selection=0.1 - - page.newstudy - page.home - + + + page.newstudy + + + + + open-study?selection=0.1 + + page.newstudy + page.home + -- 2.39.2