bootstrap-popover-x invalid after node switched when using with yii2-tree-manager
Closed this issue · 1 comments
yanhuixie commented
Let's consider about the layout bellow:
The first time whole page rendered and select a tree node, Editable function is normal (bootstrap-popover-x popup). since the selection of another tree node, or switch back to the first selected tree node, Editable function is invalid (bootstrap-popover-x can't popup). There is no exception/error in backend app and browser console. No matter the 'enableCache' option of yii2-tree-manager is true or false.
Any suggestion is appreciated. Thank you!
kartik-v commented
It is more to do with your code. Your use case is ajax based rendering and hence any JS / JQUERY plugins will need to be reinitialized after the markup is overwritten by ajax.