From 00916c527ea5f297232f4f7e9dd995bd401c466d Mon Sep 17 00:00:00 2001 From: mka Date: Mon, 6 May 2013 12:50:00 +0000 Subject: [PATCH] - Back-arrow is added when the user selects the new product on the new study screen - Left menu is updated when the last knowledge element is deleted - Screen is updated after performing the "attach another format" operation --- Workspace/Siman/WebContent/study/newStudy.jsp | 32 +++++++++---------- .../src/org/splat/simer/DocumentFacade.java | 26 +++++++++------ .../simer/EditKnowledgeElementAction.java | 12 ++++--- 3 files changed, 40 insertions(+), 30 deletions(-) diff --git a/Workspace/Siman/WebContent/study/newStudy.jsp b/Workspace/Siman/WebContent/study/newStudy.jsp index 1d0148a..bf04ebd 100644 --- a/Workspace/Siman/WebContent/study/newStudy.jsp +++ b/Workspace/Siman/WebContent/study/newStudy.jsp @@ -19,6 +19,16 @@ } create.projectContext.focus(); } + + function setDefaultSelection() { + tds = document.getElementById("select"); + tde = document.getElementById("enter"); + tds.style.display = "block"; // Hides the select input + tde.style.display = "none"; // Displays the text input + + create.projectContextId.value = -1; + create.projectContextId.focus(); + } $(document).ready(function() { @@ -57,21 +67,7 @@ event.preventDefault(); //cross-browser solution } }); - - function setDefaultSelection()(event) { - tds = document.getElementById("select"); - tde = document.getElementById("enter"); - tds.style.display = "block"; // Hides the select input - tde.style.display = "none"; // Displays the text input - - create.projectContextId.value = -1; - create.projectContextId.focus(); - - //hide back button - } }); - -