diff --git a/ExternalModule.php b/ExternalModule.php index 9b31175..b1917de 100644 --- a/ExternalModule.php +++ b/ExternalModule.php @@ -7,7 +7,6 @@ namespace ImageMap\ExternalModule; use ExternalModules\AbstractExternalModule; -use ExternalModules\ExternalModules; use Form; @@ -66,7 +65,7 @@ private function injectImageMaps() { if (empty($row)) { // The specified imagemap is not defined \REDCap::logEvent("Missing ImageMap", "$imagemap_name is defined for field $field_name but does not exist.", - "", "", "", $project_id); + "", "", "", $this->getProjectId()); continue; } diff --git a/config.json b/config.json index f185738..7634c94 100644 --- a/config.json +++ b/config.json @@ -2,9 +2,6 @@ "name": "Image Map", "namespace": "ImageMap\\ExternalModule", "description": "This module replaces an input, radio, or checkbox field with an interactive image where users can click on image regions to select one or more field options. Find the complete documentation and an example instrument at https://github.com/ctsit/imagemap.", - "permissions": [ - "redcap_every_page_top" - ], "framework-version": 9, "authors": [ { diff --git a/documentation.php b/documentation.php index 932e975..698ad50 100644 --- a/documentation.php +++ b/documentation.php @@ -38,7 +38,7 @@ } table.detail textarea { width: 100%; - resize: auto; + resize: unset; } span.copy {float:right;margin-right: -10px;} @@ -81,7 +81,7 @@ ?>