From 567cd4eb12bb736c1330aef056c74e02f5a9f35e Mon Sep 17 00:00:00 2001 From: Dick Visser <dick.visser@geant.org> Date: Fri, 8 Mar 2019 16:33:33 +0100 Subject: [PATCH] 'post' doesn't exists, so these weren't loaded at all. --- modules/discopower/templates/disco.tpl.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/discopower/templates/disco.tpl.php b/modules/discopower/templates/disco.tpl.php index a5a104063..1d3ec8979 100644 --- a/modules/discopower/templates/disco.tpl.php +++ b/modules/discopower/templates/disco.tpl.php @@ -6,9 +6,9 @@ $this->data['jquery'] = ['core' => true, 'ui' => true, 'css' => true]; $this->data['head'] = '<link rel="stylesheet" media="screen" type="text/css" href="'. SimpleSAML\Module::getModuleURL('discopower/assets/css/disco.css').'" />'; -$this->data['post'] = '<script type="text/javascript" src="'. +$this->data['head'] .= '<script type="text/javascript" src="'. SimpleSAML\Module::getModuleURL('discopower/assets/js/jquery.livesearch.js').'"></script>'; -$this->data['post'] .= '<script type="text/javascript" src="'. +$this->data['head'] .= '<script type="text/javascript" src="'. SimpleSAML\Module::getModuleURL('discopower/assets/js/quicksilver.js').'"></script>'; if (!empty($this->data['faventry'])) { @@ -143,6 +143,6 @@ foreach ($this->data['idplist'] as $tab => $slist) { </script> <?php -$this->data['post'] .= '<script type="text/javascript" src="'. +$this->data['head'] .= '<script type="text/javascript" src="'. SimpleSAML\Module::getModuleURL('discopower/assets/js/suggest.js').'"></script>'; $this->includeAtTemplateBase('includes/footer.php'); -- GitLab