From: mka Date: Wed, 3 Apr 2013 15:00:27 +0000 (+0000) Subject: Promote, Demote, Validate... operations are available without refresh operation. X-Git-Tag: Root_Delivery2_2013_04_22~61 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a99d65a96128a255e96194c189d8510788b8ebeb;p=tools%2Fsiman.git Promote, Demote, Validate... operations are available without refresh operation. --- 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 +