This repository has been archived on 2023-03-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
osr-discourse-src/app/assets/javascripts/discourse/components/bulk-select-button.js.es6
T
2017-01-26 16:36:53 -05:00

17 lines
422 B
JavaScript

import showModal from 'discourse/lib/show-modal';
export default Ember.Component.extend({
actions: {
showBulkActions() {
const controller = showModal('topic-bulk-actions', {
model: {
topics: this.get('selected'),
category: this.get('category')
},
title: 'topics.bulk.actions'
});
controller.set('refreshClosure', () => this.sendAction());
}
}
});