metacpan / js-metacpan-org

Proof of concept search page for using api.metacpan.org
28 stars 6 forks source link

Site is currently broken in Opera #9

Closed ioncache closed 13 years ago

ioncache commented 13 years ago

This is a cross-domain ajax issue.

The api.metacpan.org and search.metacpan.org domains aren't liking each other. I assume this is because we aren't using a wildcard domain name yet.

So Opera (and I believe IE) don't like all the ajax calls to api.metacpan.org right now.

ioncache commented 13 years ago

All right, I tracked down the problem.

It was apparently a cross domain issue. But I've switched to using jsonp for my ajax calls now since ElasticSearch supports those. This has fixed the cross domain issue in both Opera and IE.

However after changing that I found another Opera bug. The DataTables jQuery plugin I'm using apparently doesn't play nice with jQuery 1.4.4. I've reverted to using 1.4.3 for now.