From 23a2833d61b0a1ad5f3b55c75fe0ed35c5bb10d7 Mon Sep 17 00:00:00 2001 From: Fabricio C Zuardi Date: Thu, 8 May 2014 19:36:24 -0300 Subject: [PATCH] fixes bookmark click not working bug --- package.json | 2 +- src/scripts/lib/companion/app.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a428a30..aaf807d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "companion", - "version": "0.6.1", + "version": "0.6.2", "description": "Companion is a mobile application to track schedules of conferences and events.", "scripts": { "cordova-setup": "./node_modules/.bin/gulp cordova:setup", diff --git a/src/scripts/lib/companion/app.js b/src/scripts/lib/companion/app.js index 91f7cd0..03b05b0 100644 --- a/src/scripts/lib/companion/app.js +++ b/src/scripts/lib/companion/app.js @@ -214,9 +214,11 @@ module.exports = function($, FISLParser, templates){ var initSessions = function(){ // time navigation buttons (list view) + $('#time-nav li a').off(); $('#time-nav li a').click(timeNavClicked); // add to calendar buttons + $('.calendar-add-button').off(); $('.calendar-add-button').click(function(event){ cordovaFunctions.addToCalendarButtonClicked( event, @@ -230,6 +232,7 @@ module.exports = function($, FISLParser, templates){ $('.refresh-feed').click(manualFetchClicked); // bookmark buttons + $('.bookmark-button').off(); $('.bookmark-button').click(bookmarkButtonClicked); //add favorite class to all bookmarked sessions @@ -244,6 +247,7 @@ module.exports = function($, FISLParser, templates){ applyBookmarksFilter(); // map links + $('.room-link').off(); $('.room-link').click(mapLinkClicked); //setup collapsable sessions in and out events