Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

Commit

Permalink
Merge pull request #8 from SURFnet/joostd-patch-1
Browse files Browse the repository at this point in the history
include correct version of jQuery in enrolment page
  • Loading branch information
ijansch committed Dec 13, 2017
2 parents 62f9d22 + 5b0a050 commit 3e05afa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion templates/newuser_result.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@
*/

$this->data['header'] = $this->t('{authTiqr:tiqr:header_enrollment}');
$this->data['jquery'] = array('version' => '1.6', 'core' => true);

if (sspmod_authTiqr_Helper_VersionHelper::useOldVersion()) {
$this->data['jquery'] = array('version' => '1.6', 'core' => true);
} else {
$this->data['jquery'] = array('version' => '1.8', 'core' => true);
}

$this->includeAtTemplateBase('includes/header.php');

Expand Down

0 comments on commit 3e05afa

Please sign in to comment.