mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
@@ -722,6 +722,11 @@ export default Ember.Controller.extend(bufferedProperty("model"), {
|
||||
this._jumpToPostId(postId);
|
||||
},
|
||||
|
||||
hideMultiSelect() {
|
||||
this.set("multiSelect", false);
|
||||
this._forceRefreshPostStream();
|
||||
},
|
||||
|
||||
toggleMultiSelect() {
|
||||
this.toggleProperty("multiSelect");
|
||||
this._forceRefreshPostStream();
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
topic=topic
|
||||
openUpwards="true"
|
||||
toggleMultiSelect=toggleMultiSelect
|
||||
hideMultiSelect=hideMultiSelect
|
||||
deleteTopic=deleteTopic
|
||||
recoverTopic=recoverTopic
|
||||
toggleClosed=toggleClosed
|
||||
|
||||
@@ -95,6 +95,7 @@
|
||||
topic=model
|
||||
fixed="true"
|
||||
toggleMultiSelect=(action "toggleMultiSelect")
|
||||
hideMultiSelect=(action "hideMultiSelect")
|
||||
deleteTopic=(action "deleteTopic")
|
||||
recoverTopic=(action "recoverTopic")
|
||||
toggleClosed=(action "toggleClosed")
|
||||
@@ -122,6 +123,7 @@
|
||||
jumpToIndex=(action "jumpToIndex")
|
||||
replyToPost=(action "replyToPost")
|
||||
toggleMultiSelect=(action "toggleMultiSelect")
|
||||
hideMultiSelect=(action "hideMultiSelect")
|
||||
deleteTopic=(action "deleteTopic")
|
||||
recoverTopic=(action "recoverTopic")
|
||||
toggleClosed=(action "toggleClosed")
|
||||
@@ -145,6 +147,7 @@
|
||||
openUpwards="true"
|
||||
rightSide="true"
|
||||
toggleMultiSelect=(action "toggleMultiSelect")
|
||||
hideMultiSelect=(action "hideMultiSelect")
|
||||
deleteTopic=(action "deleteTopic")
|
||||
recoverTopic=(action "recoverTopic")
|
||||
toggleClosed=(action "toggleClosed")
|
||||
@@ -291,6 +294,7 @@
|
||||
{{topic-footer-buttons
|
||||
topic=model
|
||||
toggleMultiSelect=(action "toggleMultiSelect")
|
||||
hideMultiSelect=(action "hideMultiSelect")
|
||||
deleteTopic=(action "deleteTopic")
|
||||
recoverTopic=(action "recoverTopic")
|
||||
toggleClosed=(action "toggleClosed")
|
||||
|
||||
@@ -90,6 +90,7 @@ createWidget("topic-admin-menu-button", {
|
||||
position.left += $button.width() - 203;
|
||||
}
|
||||
this.state.position = position;
|
||||
this.sendWidgetAction("hideMultiSelect");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user