Permalink
Browse files

Defer loading of recommendations

  • Loading branch information...
1 parent 2096594 commit b8a4198c132f4efa943798f86c35b8f1999665d9 @steffentchr steffentchr committed Dec 7, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/AppProperties.as
@@ -77,6 +77,7 @@ private function initLoadURL():void{
if (defaultPhotoId.length) loadParameters.push('photo_id=' + encodeURI(defaultPhotoId));
if (defaultAlbumId.length) loadParameters.push('album_id=' + encodeURI(defaultAlbumId));
loadParameters.push('player_id=' + encodeURI(playerId));
+ loadParameters.push('size=1');
// Use load parameters to build JSON source
var jsonSource:String = props.get('site_url') + '/api/photo/list?raw&format=json&' + loadParameters.join('&');

0 comments on commit b8a4198

Please sign in to comment.