From: Kurund Jalmi Date: Mon, 21 Aug 2023 20:37:47 +0000 (+0100) Subject: styling fixes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8852b9b4a2f3836d81bc3e0970bdde1599e9b014;p=civicrm-core.git styling fixes --- diff --git a/ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js b/ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js index 6a80ebbd30..de4b1a2c89 100644 --- a/ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js +++ b/ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js @@ -409,7 +409,7 @@ } else { editor.afform.create_submission = true; } - } + }; this.toggleEmailVerification = function() { if (editor.afform.allow_verification_by_email) { @@ -418,7 +418,7 @@ editor.afform.create_submission = true; editor.afform.manual_processing = true; } - } + }; function loadNavigationMenu() { if ('navigationMenu' in editor) { diff --git a/ext/afform/core/Civi/Api4/Action/Afform/Process.php b/ext/afform/core/Civi/Api4/Action/Afform/Process.php index de77b1a5b2..2b679b2082 100644 --- a/ext/afform/core/Civi/Api4/Action/Afform/Process.php +++ b/ext/afform/core/Civi/Api4/Action/Afform/Process.php @@ -3,7 +3,6 @@ namespace Civi\Api4\Action\Afform; use Civi\Api4\AfformSubmission; -use Civi\Afform\Event\AfformSubmitEvent; /** * Class Process diff --git a/ext/search_kit/ang/crmSearchTasks/crmSearchTaskProcess.ctrl.js b/ext/search_kit/ang/crmSearchTasks/crmSearchTaskProcess.ctrl.js index 13297492ac..5270a9f286 100644 --- a/ext/search_kit/ang/crmSearchTasks/crmSearchTaskProcess.ctrl.js +++ b/ext/search_kit/ang/crmSearchTasks/crmSearchTaskProcess.ctrl.js @@ -14,11 +14,11 @@ select: ["afform_name"], where: [["id", "=", id]], }).then(function(afformSubmissions) { - ctrl.afformName = afformSubmissions[0]['afform_name']; + ctrl.afformName = afformSubmissions[0].afform_name; }, function(error) { ctrl.onError(); }); - } + }; this.processData = function() { _.each(ctrl.ids, function(id) { @@ -28,12 +28,12 @@ name: ctrl.afformName }).then(function(result) { }, function(failure) { - ctrl.onError() + ctrl.onError(); }); }); ctrl.onSuccess(); - } + }; this.save = function() { // get the afform name