[LON-CAPA-cvs] cvs: loncom /interface lonnavmaps.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Fri, 27 Aug 2004 20:34:13 -0000
albertel Fri Aug 27 16:34:13 2004 EDT
Modified files:
/loncom/interface lonnavmaps.pm
Log:
- in inline mode when you close the window using the close link, need to update the main window to let itknow I am going away
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.279 loncom/interface/lonnavmaps.pm:1.280
--- loncom/interface/lonnavmaps.pm:1.279 Tue Aug 24 18:07:51 2004
+++ loncom/interface/lonnavmaps.pm Fri Aug 27 16:34:13 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Navigate Maps Handler
#
-# $Id: lonnavmaps.pm,v 1.279 2004/08/24 22:07:51 albertel Exp $
+# $Id: lonnavmaps.pm,v 1.280 2004/08/27 20:34:13 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -189,6 +189,13 @@
swmenu.clearTimeout(swmenu.menucltim);
$navstatus
MENU
+ } else {
+ my $nothing = &Apache::lonhtmlcommon::javascript_nothing();
+ my $mainwindow='window.open('.$nothing.',"loncapaclient","",false);';
+ $menu=(<<MENU)
+ swmenu=$mainwindow
+ $navstatus
+MENU
}
$r->print(<<"ENDSUBM");
<html>