From 2ea84629a355a02d7eaa33464a0298ec4999073c Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Thu, 31 May 2012 10:14:22 -0700 Subject: updating the google components serialization to enable saving Signed-off-by: Valerio Virgillito --- .../montage-google/picasa-carousel.reel/picasa-carousel.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'node_modules/montage-google/picasa-carousel.reel/picasa-carousel.js') 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 draw: { value: function() { - + if (this.isSearching) { this.element.classList.add("searching"); } else { this.element.classList.remove("searching"); } - + + } + }, + + serializeProperties: { + value: function(serializer) { + serializer.set("element", this.element); + serializer.set("queryParameter", this.queryParameter); } } -- cgit v1.2.3