Return to window_handling.txt CVS log | Up to [LON-CAPA] / doc |
some beginning notes on window handling
The following files have window handling: (find . -type f | xargs grep -s -l -i '<script' | xargs grep -s -l -i '\.open') ./loncom/homework/lonhomework.pm ./loncom/html/res/adm/pages/annotator/admannotations.pm ./loncom/html/res/adm/pages/homeworkmenu.html ./loncom/html/res/adm/pages/menu.html ./loncom/html/res/adm/pages/bookmarkmenu/bookmarkpal_old.html ./loncom/interface/londropadd.pm ./loncom/interface/lonmenu.pm ./loncom/interface/lonnavmaps.pm ./loncom/interface/lonparmset.pm ./loncom/interface/loncreateuser.pm ./loncom/xml/scripttag.pm ./rat/client/code.html ./rat/client/parameter.html things that refer to loncapaclient find . -type f | xargs grep loncapaclient ######################################### # ./loncom/html/res/adm/pages/menu.html # clienthost=window.location.host; clientwindow=opener; function windowcheck() { if (clientwindow.closed) { clientwindow=window.open("http://"+clienthost+"/"); } clientwindow.name='loncapaclient'; } function logout () { windowcheck(); if (clientwindow.status!='MenuControl:nologout') { clientwindow.window.location.href="http://"+clienthost+"/adm/logout"; } }