diff --git a/LearningHub.Nhs.WebUI/Scripts/vuesrc/contribute/Content.vue b/LearningHub.Nhs.WebUI/Scripts/vuesrc/contribute/Content.vue index 9cbc9227b..d38662e50 100644 --- a/LearningHub.Nhs.WebUI/Scripts/vuesrc/contribute/Content.vue +++ b/LearningHub.Nhs.WebUI/Scripts/vuesrc/contribute/Content.vue @@ -401,7 +401,8 @@ v-model.trim="currentPassword" placeholder="Current password" @blur="$v.currentPassword.$touch()" - v-bind:class="{ 'input-validation-error': $v.currentPassword.$error}"> + v-bind:class="{ 'input-validation-error': $v.currentPassword.$error}" + @keydown.enter="submitPassword">
diff --git a/LearningHub.Nhs.WebUI/Scripts/vuesrc/contribute/fileUpload.vue b/LearningHub.Nhs.WebUI/Scripts/vuesrc/contribute/fileUpload.vue index 50cc2b049..60da7326e 100644 --- a/LearningHub.Nhs.WebUI/Scripts/vuesrc/contribute/fileUpload.vue +++ b/LearningHub.Nhs.WebUI/Scripts/vuesrc/contribute/fileUpload.vue @@ -253,7 +253,7 @@ } } else { - this.$emit('childfileuploaderror', FileErrorTypeEnum.Custom, 'There was a problem uploading this file to the Learning Hub. The .zip file you tried to upload was empty.'); + this.$emit('childfileuploaderror', FileErrorTypeEnum.InvalidType, 'We do not support this file type on the Learning Hub.'); } } this.uploading = false; @@ -263,7 +263,7 @@ this.$emit('childfileuploaderror', FileErrorTypeEnum.Custom, 'There was a problem uploading this file to the Learning Hub. Please try again and if it still does not upload, contact the support team.'); } else { - this.$emit('childfileuploaderror', FileErrorTypeEnum.Custom, 'There was a problem uploading this file to the Learning Hub. The .zip file you tried to upload was empty.'); + this.$emit('childfileuploaderror', FileErrorTypeEnum.InvalidType, 'We do not support this file type on the Learning Hub.'); } self.processing = false; self.uploading = false;