Tried various ways of using the JIC. Used the script tag, used the jQuery block. Neither one made a button show on the site. No JS error or anything. Debugged the _init and the conditions evaluated to true for access, and it is in Drupal.settings.

What actually fires or adds the script version of the JIC? I can't see where that is being added. When I try using the jQuery AJAX version, I get CORS errors.

If I simply disable the module, and add the script tag just above the body, it works perfectly fine.

Comments

kevinquillen created an issue. See original summary.

kevinquillen’s picture

I should note that I tried triggering the plugin by doing a jQuery.ajax call from the devtools window, which then reported the CORS error.

kaidjohnson’s picture

Status: Active » Closed (duplicate)

Please see related thread where patches are being proposed and reviewed: https://www.drupal.org/node/2429389