Mercurial > p > roundup > code
diff templates/classic/html/help_controls.js @ 2761:10a49678ebf2
allow listing popup to be used in query forms (thanks Marcus Priesch)
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 15 Oct 2004 00:48:05 +0000 |
| parents | 9cdc49488fe6 |
| children | 3f3ca882deb2 |
line wrap: on
line diff
--- a/templates/classic/html/help_controls.js Fri Oct 15 00:25:18 2004 +0000 +++ b/templates/classic/html/help_controls.js Fri Oct 15 00:48:05 2004 +0000 @@ -1,6 +1,6 @@ // initial values for either Nosy, Superseder, Topic and Waiting On, // depending on which has called -original_field = window.opener.document.itemSynopsis[field].value; +original_field = form[field].value; // Some browsers (ok, IE) don't define the "undefined" variable. undefined = document.geez_IE_is_really_friggin_annoying; @@ -35,7 +35,7 @@ function updateList() { // write back to opener window if (document.frm_help.check==undefined) { return; } - window.opener.document.itemSynopsis[field].value = determineList(); + form[field].value = determineList(); } function updatePreview() {
