Ignore:
Timestamp:
08/04/10 16:08:41 (14 years ago)
Author:
Kris Deugau
Message:

/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.

Location:
branches/htmlform/templates
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/htmlform/templates/assign.tmpl

    r458 r459  
    2727        <option><TMPL_VAR NAME=city></option></TMPL_LOOP>
    2828</select>
    29 &nbsp;<a href="javascript:popNotes('/ip/newcity.html')">Add new location</a>
     29&nbsp;<a href="javascript:popNotes('/ip/cgi-bin/newcity.cgi')">Add new location</a>
    3030</td>
    3131</tr>
  • branches/htmlform/templates/widgets.js

    r451 r459  
    1111        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");
    1212}
     13function redoParent() {
     14        opener.location.reload(true);
     15}
Note: See TracChangeset for help on using the changeset viewer.