[RSS Feed/News] data-xf-click on xf:toggle fires multiple times

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
So I've a data-xf-click defined on a xf:toggle inside a loop.
HTML:

Code:
<xf:foreach loop="$data" value="$obj">
    <xf:toggle name="abc[]" data-xf-click="foo" value="{{$obj.sys_id}}" />
</xf:foreach>

And the javascript is as follows:
JavaScript:

Code:
var AsprinFB = window.AsprinFB || {};

/** @param {jQuery} $ */
!(function($, window, document, _undefined) {
    'use strict';
     
    AsprinFB.ClickHandler = XF.Click.newHandler({
        eventType: 'click',
        eventNameSpace...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom