summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2011-08-28 16:22:04 (UTC)
committer Michael Krelin <hacker@klever.net>2011-08-28 16:22:04 (UTC)
commite58247a43552504e34ae31a5262a8a9dd338243c (patch) (unidiff)
tree010174a32497fa0e085de0902799197f703e678a
parentaa13caca14bac3ed268ac6fb62f0270e40b24e48 (diff)
downloadfireflix-e58247a43552504e34ae31a5262a8a9dd338243c.zip
fireflix-e58247a43552504e34ae31a5262a8a9dd338243c.tar.gz
fireflix-e58247a43552504e34ae31a5262a8a9dd338243c.tar.bz2
more json calls
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--content/fireflix.js19
1 files changed, 9 insertions, 10 deletions
diff --git a/content/fireflix.js b/content/fireflix.js
index 283e930..d70ab4d 100644
--- a/content/fireflix.js
+++ b/content/fireflix.js
@@ -447,4 +447,4 @@ var fireflix = {
447 var ppid = this.batch_ids[0]; 447 var ppid = this.batch_ids[0];
448 var _this = this; 448 var that = this;
449 this.fireflix.flickr.api_call( 449 this.fireflix.flickr.api_call_json(
450 { 450 {
@@ -454,6 +454,5 @@ var fireflix = {
454 primary_photo_id: ppid 454 primary_photo_id: ppid
455 }, function(x) { 455 }, function(x,j) {
456 var npid = 456 var npid = j.photoset.id;
457 x.responseXML.getElementsByTagName('photoset').item(0).getAttribute('id'); 457 that.fireflix.flickr.api_call_json(
458 _this.fireflix.flickr.api_call(
459 { 458 {
@@ -464,6 +463,6 @@ var fireflix = {
464 photo_ids: pids 463 photo_ids: pids
465 }, function(x) { 464 }, function(x,j) {
466 _this.fireflix.refresh_sets(); 465 that.fireflix.refresh_sets();
467 }, function(x,s,c,m) { 466 }, function(x,s,c,m) {
468 _this.fireflix.flickr_failure(x,s,c,m); 467 that.fireflix.flickr_failure(x,s,c,m);
469 } 468 }
@@ -471,3 +470,3 @@ var fireflix = {
471 }, function(x,s,c,m) { 470 }, function(x,s,c,m) {
472 _this.fireflix.flickr_failure(x,s,c,m); 471 that.fireflix.flickr_failure(x,s,c,m);
473 } 472 }