Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/awaitForRecycleList.jsp =================================================================== diff -u -r35555 -r35710 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/awaitForRecycleList.jsp (.../awaitForRecycleList.jsp) (revision 35555) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/awaitForRecycleList.jsp (.../awaitForRecycleList.jsp) (revision 35710) @@ -65,6 +65,14 @@ welcome('${orgUnitName}',userName); <%session.removeAttribute("fromLogin");%> } + if(source !== ''){ + var loop = setInterval(function () { + if(!window.opener){ + clearInterval(loop); + window.close(); + } + }, 1000); + } <%@ include file="/common/include_Ext425JsAndCss.jsp"%>