From: mka Date: Mon, 6 May 2013 12:50:00 +0000 (+0000) Subject: - Back-arrow is added when the user selects the new product on the new study screen X-Git-Tag: Delivery_V1_0_2013_07_12~32 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=00916c527ea5f297232f4f7e9dd995bd401c466d;p=tools%2Fsiman.git - 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 --- 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 - } }); - -