mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 12:13:58 -06:00
FIX: reverts #18e2816 (#7940)
This commit is contained in:
parent
47deb8b3da
commit
c7b146cbdf
@ -722,11 +722,6 @@ export default Ember.Controller.extend(bufferedProperty("model"), {
|
||||
this._jumpToPostId(postId);
|
||||
},
|
||||
|
||||
hideMultiSelect() {
|
||||
this.set("multiSelect", false);
|
||||
this._forceRefreshPostStream();
|
||||
},
|
||||
|
||||
toggleMultiSelect() {
|
||||
this.toggleProperty("multiSelect");
|
||||
this._forceRefreshPostStream();
|
||||
|
@ -4,7 +4,6 @@
|
||||
topic=topic
|
||||
openUpwards="true"
|
||||
toggleMultiSelect=toggleMultiSelect
|
||||
hideMultiSelect=hideMultiSelect
|
||||
deleteTopic=deleteTopic
|
||||
recoverTopic=recoverTopic
|
||||
toggleClosed=toggleClosed
|
||||
|
@ -95,7 +95,6 @@
|
||||
topic=model
|
||||
fixed="true"
|
||||
toggleMultiSelect=(action "toggleMultiSelect")
|
||||
hideMultiSelect=(action "hideMultiSelect")
|
||||
deleteTopic=(action "deleteTopic")
|
||||
recoverTopic=(action "recoverTopic")
|
||||
toggleClosed=(action "toggleClosed")
|
||||
@ -123,7 +122,6 @@
|
||||
jumpToIndex=(action "jumpToIndex")
|
||||
replyToPost=(action "replyToPost")
|
||||
toggleMultiSelect=(action "toggleMultiSelect")
|
||||
hideMultiSelect=(action "hideMultiSelect")
|
||||
deleteTopic=(action "deleteTopic")
|
||||
recoverTopic=(action "recoverTopic")
|
||||
toggleClosed=(action "toggleClosed")
|
||||
@ -147,7 +145,6 @@
|
||||
openUpwards="true"
|
||||
rightSide="true"
|
||||
toggleMultiSelect=(action "toggleMultiSelect")
|
||||
hideMultiSelect=(action "hideMultiSelect")
|
||||
deleteTopic=(action "deleteTopic")
|
||||
recoverTopic=(action "recoverTopic")
|
||||
toggleClosed=(action "toggleClosed")
|
||||
@ -294,7 +291,6 @@
|
||||
{{topic-footer-buttons
|
||||
topic=model
|
||||
toggleMultiSelect=(action "toggleMultiSelect")
|
||||
hideMultiSelect=(action "hideMultiSelect")
|
||||
deleteTopic=(action "deleteTopic")
|
||||
recoverTopic=(action "recoverTopic")
|
||||
toggleClosed=(action "toggleClosed")
|
||||
|
@ -90,7 +90,6 @@ createWidget("topic-admin-menu-button", {
|
||||
position.left += $button.width() - 203;
|
||||
}
|
||||
this.state.position = position;
|
||||
this.sendWidgetAction("hideMultiSelect");
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -255,13 +255,6 @@ QUnit.test("selecting posts", async assert => {
|
||||
exists(".select-all"),
|
||||
"it should allow users to select all the posts"
|
||||
);
|
||||
|
||||
await click(".toggle-admin-menu");
|
||||
|
||||
assert.ok(
|
||||
exists(".selected-posts.hidden"),
|
||||
"it should hide the multi select menu"
|
||||
);
|
||||
});
|
||||
|
||||
QUnit.test("select below", async assert => {
|
||||
|
Loading…
Reference in New Issue
Block a user