kartik-v/yii2-editable

bootstrap-popover-x invalid after node switched when using with yii2-tree-manager

Closed this issue · 1 comments

Let's consider about the layout bellow:
2016-04-21 11 10 27

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!

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.