diff options
author | Jose Antonio Marquez | 2012-03-21 09:53:08 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-03-21 09:53:08 -0700 |
commit | beb72aa033f42d09d54a4ea6cc6b5ca59cc6fae7 (patch) | |
tree | 71ee74df0c3a56b680e4aa80f23905fcb1cc84f1 /node_modules/montage/ui/picasa-carousel.reel/picasa-carousel.js | |
parent | 37cafa09653ff3e2cb88c5b51cdc1f6e066aa3e8 (diff) | |
parent | 31eee2972667d7553974f0857fdc458954219203 (diff) | |
download | ninja-beb72aa033f42d09d54a4ea6cc6b5ca59cc6fae7.tar.gz |
Merge branch 'refs/heads/francoisfrisch-Ninja-Internal' into FileIO-Montage-Components
Diffstat (limited to 'node_modules/montage/ui/picasa-carousel.reel/picasa-carousel.js')
-rw-r--r-- | node_modules/montage/ui/picasa-carousel.reel/picasa-carousel.js | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/node_modules/montage/ui/picasa-carousel.reel/picasa-carousel.js b/node_modules/montage/ui/picasa-carousel.reel/picasa-carousel.js index 1f5e7dd0..b41df9a6 100644 --- a/node_modules/montage/ui/picasa-carousel.reel/picasa-carousel.js +++ b/node_modules/montage/ui/picasa-carousel.reel/picasa-carousel.js | |||
@@ -20,6 +20,16 @@ var PicasaCarousel = exports.PicasaCarousel = Montage.create(Component, /** @len | |||
20 | value: null | 20 | value: null |
21 | }, | 21 | }, |
22 | 22 | ||
23 | flow: { | ||
24 | value: null | ||
25 | }, | ||
26 | |||
27 | initialPosition: { | ||
28 | value: 2300 | ||
29 | }, | ||
30 | |||
31 | |||
32 | |||
23 | _queryParameter: { | 33 | _queryParameter: { |
24 | enumerable: false, | 34 | enumerable: false, |
25 | value: null | 35 | value: null |
@@ -37,7 +47,7 @@ var PicasaCarousel = exports.PicasaCarousel = Montage.create(Component, /** @len | |||
37 | 47 | ||
38 | resultCount: { | 48 | resultCount: { |
39 | enumerable: false, | 49 | enumerable: false, |
40 | value: 20 | 50 | value: 40 |
41 | }, | 51 | }, |
42 | 52 | ||
43 | prepareForDraw: { | 53 | prepareForDraw: { |
@@ -103,6 +113,8 @@ var PicasaCarousel = exports.PicasaCarousel = Montage.create(Component, /** @len | |||
103 | value: function(evt) { | 113 | value: function(evt) { |
104 | var response = JSON.parse(evt.target.responseText); | 114 | var response = JSON.parse(evt.target.responseText); |
105 | this.searchResults = response.feed.entry; | 115 | this.searchResults = response.feed.entry; |
116 | this.flow.length = this.initialPosition; | ||
117 | this.flow.origin = this.initialPosition; | ||
106 | this.isSearching = false; | 118 | this.isSearching = false; |
107 | } | 119 | } |
108 | }, | 120 | }, |