]> source.dussan.org Git - jquery.git/commit
Fixed #1557, although it doesn't appear to be just an FF3 problem. In this case,...
authorDavid Serduke <davidserduke@gmail.com>
Thu, 29 Nov 2007 19:07:20 +0000 (19:07 +0000)
committerDavid Serduke <davidserduke@gmail.com>
Thu, 29 Nov 2007 19:07:20 +0000 (19:07 +0000)
commit4b8f6cdc86c395fb92c7d50e8642118963232af4
treeab8aec891b1b11c1941a0f02f0033b8004173090
parent7ac564cd98a869d558ea4b3be6919baab0f48d10
Fixed #1557, although it doesn't appear to be just an FF3 problem. In this case, $.getJSON() wasn't working from a remote host. I went ahead and added a unit test then added the s.dataType == "json" test for a remote <script> load.  The said that json was allowed but the dataType check was missing. This appears to have fixed the bug across all browsers.
src/ajax.js
test/data/json_assigned_obj.js [new file with mode: 0644]
test/unit/ajax.js