FIX: reenable draft check modal and fix focus on iOS for PMs
This commit is contained in:
parent
30cb5f7d86
commit
b45142ef79
|
@ -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;
|
||||
|
|
|
@ -85,6 +85,7 @@ const ApplicationRoute = DiscourseRoute.extend(OpenComposer, {
|
|||
recipients,
|
||||
archetypeId: "private_message",
|
||||
draftKey: Composer.NEW_PRIVATE_MESSAGE_KEY,
|
||||
draftSequence: 0,
|
||||
reply,
|
||||
title
|
||||
});
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
hasGroups=hasGroups
|
||||
allowEmails="true"
|
||||
autocomplete="discourse"
|
||||
canReceiveUpdates=true
|
||||
}}
|
||||
{{else}}
|
||||
<a href {{action "toggleSelector"}}>
|
||||
|
|
Loading…
Reference in New Issue