mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 15:08:21 +08:00
FEATURE: Full height hamburger menu
- Rename `site-map` to `hamburger-menu` - Includes acceptance tests
This commit is contained in:
@ -13,7 +13,6 @@ function unlessReadOnly(method) {
|
||||
}
|
||||
|
||||
const ApplicationRoute = Discourse.Route.extend(OpenComposer, {
|
||||
|
||||
siteTitle: setting('title'),
|
||||
|
||||
actions: {
|
||||
@ -134,12 +133,12 @@ const ApplicationRoute = Discourse.Route.extend(OpenComposer, {
|
||||
});
|
||||
},
|
||||
|
||||
deleteSpammer: function (user) {
|
||||
deleteSpammer(user) {
|
||||
this.send('closeModal');
|
||||
user.deleteAsSpammer(function() { window.location.reload(); });
|
||||
},
|
||||
|
||||
checkEmail: function (user) {
|
||||
checkEmail(user) {
|
||||
user.checkEmail();
|
||||
},
|
||||
|
||||
@ -150,7 +149,7 @@ const ApplicationRoute = Discourse.Route.extend(OpenComposer, {
|
||||
this.render(w, {into: 'modal/topic-bulk-actions', outlet: 'bulkOutlet', controller: factory ? controllerName : 'topic-bulk-actions'});
|
||||
},
|
||||
|
||||
createNewTopicViaParams: function(title, body, category_id, category) {
|
||||
createNewTopicViaParams(title, body, category_id, category) {
|
||||
this.openComposerWithParams(this.controllerFor('discovery/topics'), title, body, category_id, category);
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user