File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/django_smartbase_admin/static/sb_admin/src/js Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,11 @@ import Dropdown from 'bootstrap/js/dist/dropdown'
2
2
import Collapse from 'bootstrap/js/dist/collapse'
3
3
import Tab from 'bootstrap/js/dist/tab'
4
4
import Modal from 'bootstrap/js/dist/modal'
5
- // eslint-disable-next-line no-unused-vars
6
- import Popper from '@popperjs/core'
7
5
import Tooltip from 'bootstrap/js/dist/tooltip'
8
6
7
+ // remove Modal focus trap to fix interaction with fields in modals inside another modal
8
+ Modal . prototype . _initializeFocusTrap = function ( ) { return { activate : function ( ) { } , deactivate : function ( ) { } } }
9
+
9
10
window . bootstrap5 = {
10
11
Modal : Modal ,
11
12
Tooltip : Tooltip ,
Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ class SBAdminTable {
96
96
}
97
97
98
98
loadFromUrlAfterInit ( ) {
99
+ window . htmx . process ( this . tabulator . rowManager . tableElement )
99
100
this . tabulator . on ( "dataProcessed" , ( ) => {
100
101
window . htmx . process ( this . tabulator . rowManager . tableElement )
101
102
} )
You can’t perform that action at this time.
0 commit comments