| branch | popcorn-port |
| changeset 453 | 8568e47379a2 |
| parent 452 | 35495f156c41 |
| child 842 | 4ae2247a59f4 |
--- a/src/js/data.js Tue Dec 13 15:14:15 2011 +0100 +++ b/src/js/data.js Tue Dec 13 17:31:39 2011 +0100 @@ -37,7 +37,7 @@ /* automagically choose between json and jsonp */ if (url.indexOf(document.location.hostname) === -1 && - url[0] !== '/' /* not a relative url */ ) { + url.indexOf("http://") !== -1 /* not a relative url */ ) { // we contacting a foreign domain, use JSONP IriSP.jQuery.get(url, {}, IriSP.wrap(this, func), "jsonp");