kartik-v/yii2-tabs-x

pluginEvents error

pitonn opened this issue · 1 comments

Hello. I'm get the error: "Uncaught TypeError: ((jQuery.event.special[handleObj.origType] || (intermediate value)).handle || handleObj.handler).apply is not a function
at HTMLDocument.dispatch (jquery.js?v=1496738910:4737)
at HTMLDocument.elemData.handle (jquery.js?v=1496738910:4549)"

My code widget:
echo TabsX::widget([ 'items' => AdvertTypePlacement::get_items_for_tabsx(), 'encodeLabels' => false, 'pluginEvents' => [ "tabsX.click" => "function() { console.log('test'); }", ], ]);

Thanks for help.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.