client: workaround for #545, but not a fix
This commit is contained in:
parent
e3062b1c77
commit
d7d2a151a8
1 changed files with 8 additions and 6 deletions
|
@ -53,12 +53,14 @@ class PostListController {
|
||||||
this._evtNavigate(e)
|
this._evtNavigate(e)
|
||||||
);
|
);
|
||||||
|
|
||||||
this._headerView._bulkDeleteEditor.addEventListener(
|
if (this._headerView._bulkDeleteEditor) {
|
||||||
"deleteSelectedPosts",
|
this._headerView._bulkDeleteEditor.addEventListener(
|
||||||
(e) => {
|
"deleteSelectedPosts",
|
||||||
this._evtDeleteSelectedPosts(e);
|
(e) => {
|
||||||
}
|
this._evtDeleteSelectedPosts(e);
|
||||||
);
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
this._postsMarkedForDeletion = [];
|
this._postsMarkedForDeletion = [];
|
||||||
this._syncPageController();
|
this._syncPageController();
|
||||||
|
|
Loading…
Reference in a new issue