From: David ‘Bombe’ Roden Date: Sat, 27 Nov 2010 15:07:30 +0000 (+0100) Subject: Request a lot less data when not on the “known Sones” page. X-Git-Tag: 0.3.2-RC1~17 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=9a6be133dd1c212efb361ea5f15a06e09a491d70;p=Sone.git Request a lot less data when not on the “known Sones” page. --- diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index 66aa236..fa2c275 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -560,7 +560,7 @@ function ajaxifyNotification(notification) { } function getStatus() { - $.getJSON("getStatus.ajax", {}, function(data, textStatus) { + $.getJSON("getStatus.ajax", {"loadAllSones": isKnownSonesPage()}, function(data, textStatus) { if ((data != null) && data.success) { /* process Sone information. */ $.each(data.sones, function(index, value) {