source: branches/htmlform/templates/widgets.js@ 492

Last change on this file since 492 was 459, checked in by Kris Deugau, 14 years ago

/branches/htmlform

Convert "new city" miniscript and page to template, move the "reload
parent" JavaScript fragment into widgets.js. See #3.
Update calls from assign.tmpl and admin.cgi to point to newcity.cgi.

File size: 854 bytes
RevLine 
[451]1function openHelp() {
2 window.open("/ip/help.html", "help_window", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=700,height=400")
3}
4function openTables() {
5 window.open("/ip/tables.html", "subnet_tables", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=600,height=250")
6}
7function helpAllocTypes() {
8 window.open("/ip/alloctypes.html", "alloc_window", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=750,height=550")
9}
10function popNotes(page) {
11 window.open(page, "IPDB_notes", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=400,height=300");
12}
[459]13function redoParent() {
14 opener.location.reload(true);
15}
Note: See TracBrowser for help on using the repository browser.