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 = [];
|
const _popupMenuOptionsCallbacks = [];
|
||||||
|
|
||||||
let _checkDraftPopup = !ENV.environment === "test";
|
let _checkDraftPopup = ENV.environment !== "test";
|
||||||
|
|
||||||
export function toggleCheckDraftPopup(enabled) {
|
export function toggleCheckDraftPopup(enabled) {
|
||||||
_checkDraftPopup = enabled;
|
_checkDraftPopup = enabled;
|
||||||
|
|
|
@ -85,6 +85,7 @@ const ApplicationRoute = DiscourseRoute.extend(OpenComposer, {
|
||||||
recipients,
|
recipients,
|
||||||
archetypeId: "private_message",
|
archetypeId: "private_message",
|
||||||
draftKey: Composer.NEW_PRIVATE_MESSAGE_KEY,
|
draftKey: Composer.NEW_PRIVATE_MESSAGE_KEY,
|
||||||
|
draftSequence: 0,
|
||||||
reply,
|
reply,
|
||||||
title
|
title
|
||||||
});
|
});
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
hasGroups=hasGroups
|
hasGroups=hasGroups
|
||||||
allowEmails="true"
|
allowEmails="true"
|
||||||
autocomplete="discourse"
|
autocomplete="discourse"
|
||||||
|
canReceiveUpdates=true
|
||||||
}}
|
}}
|
||||||
{{else}}
|
{{else}}
|
||||||
<a href {{action "toggleSelector"}}>
|
<a href {{action "toggleSelector"}}>
|
||||||
|
|
Loading…
Reference in New Issue