[ExercisePlanner] updated ExercisePlanner sources
authorPiotr Dabrowski <p.dabrowski2@samsung.com>
Tue, 23 Jul 2013 10:10:05 +0000 (12:10 +0200)
committerPiotr Dabrowski <p.dabrowski2@samsung.com>
Tue, 23 Jul 2013 10:10:05 +0000 (12:10 +0200)
Change-Id: Ia051d42553ccb2a17585bf072ae8c06abc5673cd

js/UI.js

index 13d2b34..e19fcbc 100644 (file)
--- a/js/UI.js
+++ b/js/UI.js
@@ -464,6 +464,12 @@ function UI() {
 
                        self.configToUI();
                });
+
+               $('#add_custom_workout_btn').on('tap', function (e) {
+                       e.preventDefault();
+                       e.stopPropagation();
+                       $.mobile.changePage('#customExercises');
+               });
        };
 
        UI.prototype.onGraphSchedule = function onGraphSchedule(onInitEnd) {