FIX: reenable draft check modal and fix focus on iOS for PMs

This commit is contained in:
Penar Musaraj 2020-04-24 09:35:19 -04:00 committed by GitHub
parent 30cb5f7d86
commit b45142ef79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -70,7 +70,7 @@ function loadDraft(store, opts) {
const _popupMenuOptionsCallbacks = [];
let _checkDraftPopup = !ENV.environment === "test";
let _checkDraftPopup = ENV.environment !== "test";
export function toggleCheckDraftPopup(enabled) {
_checkDraftPopup = enabled;

View File

@ -85,6 +85,7 @@ const ApplicationRoute = DiscourseRoute.extend(OpenComposer, {
recipients,
archetypeId: "private_message",
draftKey: Composer.NEW_PRIVATE_MESSAGE_KEY,
draftSequence: 0,
reply,
title
});

View File

@ -10,6 +10,7 @@
hasGroups=hasGroups
allowEmails="true"
autocomplete="discourse"
canReceiveUpdates=true
}}
{{else}}
<a href {{action "toggleSelector"}}>