FEATURE: create a new message via URL without specifying user or group
This commit is contained in:
parent
be5e889b1b
commit
caef0a56d1
|
@ -48,6 +48,8 @@ export default Discourse.Route.extend({
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(() => bootbox.alert(I18n.t("generic_error")));
|
.catch(() => bootbox.alert(I18n.t("generic_error")));
|
||||||
|
} else {
|
||||||
|
e.send("createNewMessageViaParams", null, params.title, params.body);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue