From d9976b2e14fcd049f0bb0e126958ff27f51e4f0f Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 30 Jul 2010 00:18:06 -0600 Subject: [PATCH] Have inline script appear in HEAD. --- imp/contacts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imp/contacts.php b/imp/contacts.php index 51930adfd..775e3cdbc 100644 --- a/imp/contacts.php +++ b/imp/contacts.php @@ -112,11 +112,11 @@ $js = array( if (isset($vars->formfield)) { $js[] = 'ImpContacts.formfield = "' . $vars->formfield . '"'; } +Horde::addInlineScript($js); /* Display the form. */ $title = _("Address Book"); Horde::addScriptFile('contacts.js', 'imp'); require IMP_TEMPLATES . '/common-header.inc'; -Horde::addInlineScript($js); echo $template->fetch(IMP_TEMPLATES . '/imp/contacts/contacts.html'); require $registry->get('templates', 'horde') . '/common-footer.inc'; -- 2.11.0