From b979db62d4da54671615dab475fac427c996ec14 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 13 May 2011 03:53:07 -0400 Subject: Use ajax explicitly. --- web/js/010-control.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/js/010-control.js b/web/js/010-control.js index 76c7d54..e2cfe39 100644 --- a/web/js/010-control.js +++ b/web/js/010-control.js @@ -43,6 +43,7 @@ $(document).ready(function() { $("#loading").show(); $.ajax({ type: "GET", + dataType: "json", url: "cache/" + current_album_cache + ".json", error: die, success: albumLoaded @@ -260,6 +261,7 @@ $(document).ready(function() { } $.ajax({ type: "GET", + dataType: "json", url: "cache/" + album + ".json", success: callback }); -- cgit v1.2.3-59-g8ed1b