]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Datatable catches select events from other datatables
authorVolker Theile <vtheile@suse.com>
Wed, 12 Aug 2020 14:25:05 +0000 (16:25 +0200)
committerTiago Melo <tmelo@suse.com>
Thu, 22 Oct 2020 13:58:41 +0000 (13:58 +0000)
commitddb59419ba34e96353973eae55fe6df642856413
tree1215b089fdda286e7632651a6e991c9c3c2d0851
parenta2010cbc82ce53c909c3d230726d633f552e43a1
mgr/dashboard: Datatable catches select events from other datatables

Ensure we do not process DOM 'select' events, see https://github.com/swimlane/ngx-datatable/issues/899.

Fixes: https://tracker.ceph.com/issues/46903
Signed-off-by: Volker Theile <vtheile@suse.com>
(cherry picked from commit 31e9bbb9b308277d2f89390d5ff62f13457d69cb)

 Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts
conflict caused by new methods that don't exist in nautilus,
fixed by removing them from being cherry-picked.
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts