Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions ExternalModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ function redcap_survey_page_top($project_id, $record = null, $instrument, $event
$this->applyStyles('survey', $instrument);
}

/**
* @inheritdoc
*/
function redcap_survey_acknowledgement_page($project_id, $record = null, $instrument, $event_id, $group_id = null, $survey_hash, $response_id = null, $repeat_instance = 1) {
$this->applyStyles('survey', $instrument);
}

/**
* Apply CSS rules.
*
Expand Down
3 changes: 2 additions & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "Allow administrators to inject CSS into surveys and data entry forms. <strong><a href=\"https://github.com/ctsit/redcap_css_injector\">See full documentation here</a></strong>.",
"permissions": [
"redcap_data_entry_form_top",
"redcap_survey_page_top"
"redcap_survey_page_top",
"redcap_survey_acknowledgement_page"
],
"authors": [
{
Expand Down