From: Kurund Jalmi Date: Tue, 22 Aug 2023 19:41:21 +0000 (+0100) Subject: style fixes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0602d1791e983d1c797c7ce86acd6af63facc390;p=civicrm-core.git style fixes --- diff --git a/ext/afform/core/ang/af/afForm.component.js b/ext/afform/core/ang/af/afForm.component.js index 1c210f8d84..40f6dee472 100644 --- a/ext/afform/core/ang/af/afForm.component.js +++ b/ext/afform/core/ang/af/afForm.component.js @@ -98,11 +98,11 @@ }; function displaySubmitButton(args) { - if (args['sid'] && args['sid'].length > 0) { + if (args.sid && args.sid.length > 0) { return false; } return true; - }; + } // Used when submitting file fields this.fileUploader = new FileUploader({