FIX: Presence mixin was missing sometimes
This commit is contained in:
parent
0c85e40097
commit
ab80240900
|
@ -1,7 +1,6 @@
|
|||
import Presence from 'discourse/mixins/presence';
|
||||
import { outputExportResult } from 'discourse/lib/export-result';
|
||||
|
||||
export default Ember.ArrayController.extend(Presence, {
|
||||
export default Ember.ArrayController.extend({
|
||||
loading: false,
|
||||
|
||||
actions: {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import Presence from 'discourse/mixins/presence';
|
||||
import { outputExportResult } from 'discourse/lib/export-result';
|
||||
|
||||
export default Ember.ArrayController.extend(Presence, {
|
||||
export default Ember.ArrayController.extend({
|
||||
loading: false,
|
||||
itemController: 'admin-log-screened-ip-address',
|
||||
filter: null,
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import Presence from 'discourse/mixins/presence';
|
||||
import { outputExportResult } from 'discourse/lib/export-result';
|
||||
|
||||
export default Ember.ArrayController.extend(Presence, {
|
||||
export default Ember.ArrayController.extend({
|
||||
loading: false,
|
||||
|
||||
show() {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import Presence from 'discourse/mixins/presence';
|
||||
import { outputExportResult } from 'discourse/lib/export-result';
|
||||
|
||||
export default Ember.ArrayController.extend(Presence, {
|
||||
export default Ember.ArrayController.extend({
|
||||
loading: false,
|
||||
filters: null,
|
||||
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
import Presence from 'discourse/mixins/presence';
|
||||
import ModalFunctionality from 'discourse/mixins/modal-functionality';
|
||||
import ObjectController from 'discourse/controllers/object';
|
||||
|
||||
// Modal related to changing the ownership of posts
|
||||
export default ObjectController.extend(Discourse.SelectedPostsCount, ModalFunctionality, {
|
||||
export default ObjectController.extend(Presence, Discourse.SelectedPostsCount, ModalFunctionality, {
|
||||
needs: ['topic'],
|
||||
|
||||
topicController: Em.computed.alias('controllers.topic'),
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
export default Ember.ObjectController.extend({
|
||||
import Presence from 'discourse/mixins/presence';
|
||||
|
||||
export default Ember.ObjectController.extend(Presence, {
|
||||
needs: ['modal', 'topic', 'composer-messages', 'application'],
|
||||
|
||||
replyAsNewTopicDraft: Em.computed.equal('model.draftKey', Discourse.Composer.REPLY_AS_NEW_TOPIC_KEY),
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
import Presence from 'discourse/mixins/presence';
|
||||
import ModalFunctionality from 'discourse/mixins/modal-functionality';
|
||||
import ObjectController from 'discourse/controllers/object';
|
||||
|
||||
export default ObjectController.extend(ModalFunctionality, {
|
||||
export default ObjectController.extend(Presence, ModalFunctionality, {
|
||||
needs: ['user-invited'],
|
||||
|
||||
// If this isn't defined, it will proxy to the user model on the preferences
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
import Presence from 'discourse/mixins/presence';
|
||||
import ModalFunctionality from 'discourse/mixins/modal-functionality';
|
||||
import ObjectController from 'discourse/controllers/object';
|
||||
|
||||
// Modal related to merging of topics
|
||||
export default ObjectController.extend(Discourse.SelectedPostsCount, ModalFunctionality, {
|
||||
export default ObjectController.extend(Discourse.SelectedPostsCount, ModalFunctionality, Presence, {
|
||||
needs: ['topic'],
|
||||
|
||||
topicController: Em.computed.alias('controllers.topic'),
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import Presence from 'discourse/mixins/presence';
|
||||
import ObjectController from 'discourse/controllers/object';
|
||||
|
||||
export default ObjectController.extend({
|
||||
export default ObjectController.extend(Presence, {
|
||||
taken: false,
|
||||
saving: false,
|
||||
error: false,
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
import Presence from 'discourse/mixins/presence';
|
||||
import ModalFunctionality from 'discourse/mixins/modal-functionality';
|
||||
import ObjectController from 'discourse/controllers/object';
|
||||
|
||||
// Modal related to auto closing of topics
|
||||
export default ObjectController.extend(Discourse.SelectedPostsCount, ModalFunctionality, {
|
||||
export default ObjectController.extend(Discourse.SelectedPostsCount, ModalFunctionality, Presence, {
|
||||
needs: ['topic'],
|
||||
|
||||
topicController: Em.computed.alias('controllers.topic'),
|
||||
|
|
Loading…
Reference in New Issue