diff options
author | Valerio Virgillito | 2012-05-31 10:14:22 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-31 10:14:22 -0700 |
commit | 2ea84629a355a02d7eaa33464a0298ec4999073c (patch) | |
tree | 696a278c3461682772c13f28df444fcf18890c14 /node_modules/montage-google/picasa-carousel.reel | |
parent | d49c909cff7f0c5e5d0b127ad84a2fefc6677dc6 (diff) | |
download | ninja-2ea84629a355a02d7eaa33464a0298ec4999073c.tar.gz |
updating the google components serialization to enable saving
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'node_modules/montage-google/picasa-carousel.reel')
-rw-r--r-- | node_modules/montage-google/picasa-carousel.reel/picasa-carousel.js | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/node_modules/montage-google/picasa-carousel.reel/picasa-carousel.js b/node_modules/montage-google/picasa-carousel.reel/picasa-carousel.js index 800e073c..0b669b80 100644 --- a/node_modules/montage-google/picasa-carousel.reel/picasa-carousel.js +++ b/node_modules/montage-google/picasa-carousel.reel/picasa-carousel.js | |||
@@ -138,13 +138,20 @@ var PicasaCarousel = exports.PicasaCarousel = Montage.create(Component, /** @len | |||
138 | 138 | ||
139 | draw: { | 139 | draw: { |
140 | value: function() { | 140 | value: function() { |
141 | 141 | ||
142 | if (this.isSearching) { | 142 | if (this.isSearching) { |
143 | this.element.classList.add("searching"); | 143 | this.element.classList.add("searching"); |
144 | } else { | 144 | } else { |
145 | this.element.classList.remove("searching"); | 145 | this.element.classList.remove("searching"); |
146 | } | 146 | } |
147 | 147 | ||
148 | } | ||
149 | }, | ||
150 | |||
151 | serializeProperties: { | ||
152 | value: function(serializer) { | ||
153 | serializer.set("element", this.element); | ||
154 | serializer.set("queryParameter", this.queryParameter); | ||
148 | } | 155 | } |
149 | } | 156 | } |
150 | 157 | ||