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'
22import Collapse from 'bootstrap/js/dist/collapse'
33import Tab from 'bootstrap/js/dist/tab'
44import Modal from 'bootstrap/js/dist/modal'
5- // eslint-disable-next-line no-unused-vars
6- import Popper from '@popperjs/core'
75import Tooltip from 'bootstrap/js/dist/tooltip'
86
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+
910window . bootstrap5 = {
1011 Modal : Modal ,
1112 Tooltip : Tooltip ,
Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ class SBAdminTable {
9696 }
9797
9898 loadFromUrlAfterInit ( ) {
99+ window . htmx . process ( this . tabulator . rowManager . tableElement )
99100 this . tabulator . on ( "dataProcessed" , ( ) => {
100101 window . htmx . process ( this . tabulator . rowManager . tableElement )
101102 } )
You can’t perform that action at this time.
0 commit comments