mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 18:17:29 -05:00
21 lines
523 B
JavaScript
21 lines
523 B
JavaScript
/**
|
|
This view is used to handle the interface for multi selecting of posts.
|
|
|
|
@class SelectedPostsView
|
|
@extends Discourse.View
|
|
@namespace Discourse
|
|
@module Discourse
|
|
**/
|
|
Discourse.SelectedPostsView = Discourse.View.extend({
|
|
elementId: 'selected-posts',
|
|
templateName: 'selected_posts',
|
|
topicBinding: 'controller.content',
|
|
classNameBindings: ['customVisibility'],
|
|
|
|
customVisibility: (function() {
|
|
if (!this.get('controller.multiSelect')) return 'hidden';
|
|
}).property('controller.multiSelect')
|
|
|
|
});
|
|
|
|
|