Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
Fixed autocomplete data fetcher.
Browse files Browse the repository at this point in the history
  • Loading branch information
czottmann committed Aug 31, 2010
1 parent bc6c880 commit fa02ef3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ $( document ).ready( function() {

$.ajax({
url: "./index.json",
type: "json",
complete: function( data ) {
var acdata = $.parseJSON( data.responseText ),
supply = [];
dataType: "json",
success: function( acdata ) {
var supply = [];

$.each( acdata, function( i, dataset ) {
var key = "show_" + dataset.access,
Expand Down

0 comments on commit fa02ef3

Please sign in to comment.