Skip to content

Commit 6a4075a

Browse files
committed
Add upcoming login page support
1 parent e6f490f commit 6a4075a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A REDCap External Module that allows injection of JavaScript on pages.
44

55
## Requirements
66

7-
- REDCap with EM Framework v12 support.
7+
- REDCap with EM Framework v14 support.
88

99
## Installation
1010

@@ -85,6 +85,7 @@ The original version of this external module was basically just a modified versi
8585

8686
Version | Description
8787
------- | ------------------
88+
2.2.0 | Require EM Framework v14.<br>Added "enable-every-page-hooks-on-login-form" to config.json.
8889
2.1.1 | Minor code change to prevent a PHP strict mode warning.
8990
2.1.0 | Support for addition all system page: Home, My Projects, New Project, Help & FAQ, Training Videos, Send-It, Sponsor Dashboard.<br>Bumped framework version to 12.
9091
2.0.2 | Removed class constructor; PHP8-related fix.

config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
"name": "REDCap JavaScript Injector",
33
"namespace": "DE\\RUB\\JSInjectorExternalModule",
44
"description": "Allow project admins to inject JavaScript code into surveys and data entry pages. <strong><a href=\"https://github.com/grezniczek/redcap-javascript-injector\">See full documentation here</a></strong>.",
5-
"framework-version": 12,
5+
"framework-version": 14,
66
"enable-every-page-hooks-on-system-pages": true,
7+
"enable-every-page-hooks-on-login-form": true,
78
"authors": [
89
{
910
"name": "Günther Rezniczek",

0 commit comments

Comments
 (0)