From: mka Date: Thu, 12 Dec 2013 14:48:20 +0000 (+0000) Subject: Update uses list functionality X-Git-Tag: V1_0_0~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=92211fb733030a36267ccc496d9ed508a4f2b7fa;p=tools%2Fsiman.git Update uses list functionality --- diff --git a/Workspace/Siman/WebContent/study/importDocument.jsp b/Workspace/Siman/WebContent/study/importDocument.jsp index 3a715bd..ee3f104 100644 --- a/Workspace/Siman/WebContent/study/importDocument.jsp +++ b/Workspace/Siman/WebContent/study/importDocument.jsp @@ -42,6 +42,19 @@ $(document).ready(function () { } }); }); + +$(document).ready(function () { + $("#bring #documentType").change(function () { + $.ajax({ + type: 'POST', + url:'update-uses.action?documentType=' + $('#documentType').val(), + success: function(data){ + $("#bring .dynamic").remove(); + $(data).insertBefore("#bring .inner"); + } + }); + } +)}).change();