Index: lams_learning/web/controlFrame.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_learning/web/Attic/controlFrame.jsp,v diff -u -r1.20 -r1.21 --- lams_learning/web/controlFrame.jsp 9 Oct 2006 05:07:40 -0000 1.20 +++ lams_learning/web/controlFrame.jsp 29 Jan 2007 04:08:03 -0000 1.21 @@ -49,6 +49,8 @@ doAlert(args); }else if (command == "openPopUp"){ openPopUpFS(args); + }else if (command == "closeWindow"){ + closeWindow(args); } } @@ -89,6 +91,10 @@ openPopUp(url, title, h, w, resize, status, scrollbar, menubar, toolbar); } + + function closeWindow() { + top.window.close(); + } //-->