We were given this issue collector snippet to embed on our app:
<script> jQuery.ajax({ url: "[jira_collection_url]", type: "get", cache: true, dataType: "script" }); </script>
The problem, is that we are using AngularJS, and do not make use of jQuery. We've added jQuery for the sole purpose of rendering the issue collector into our pages, but once the feedback button is clicked, jQuery is reporting the error: `Uncaught TypeError: a.indexOf is not a function`. I suspect its because we have angular and jquery running side by side, and something is goofed.
Does anyone know if there is an angular implementation of the issue collector?
The problem was jQuery 3.x. Dropping our version to 1.12 fixed the problem.
I just posted our fix as the answer to this. it was our version of jQuery. $(window).on('load', function(){}); was producing the same issue for us.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I fixed the issue by placing the given script inside the $(window).on('load', function(){});
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matt,
Even I'm getting the same error, Can you share the fix If you found the solution for it.
--
Vana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.
Register today!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.