From: Piotr Dabrowski
Date: Tue, 17 Sep 2013 09:27:20 +0000 (+0200)
Subject: [ExercisePlanner] updated ExercisePlanner sources
X-Git-Tag: 2.2.1_release~9
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7960f8599e298e37b629fac8c5ca1ada61826860;p=samples%2Fweb%2FExercisePlanner.git
[ExercisePlanner] updated ExercisePlanner sources
Change-Id: Ie8796fe5d9e9ecbdcb48b56d8ec07253c021e794
---
diff --git a/js/UI.js b/js/UI.js
index 4edf079..610eb4d 100644
--- a/js/UI.js
+++ b/js/UI.js
@@ -349,7 +349,7 @@ function UI() {
self.app.appStartStop();
});
- document.addEventListener('tizenhwkey', function(e) {
+ window.addEventListener('tizenhwkey', function(e) {
if (e.keyName == 'back') {
if ($.mobile.popup.active) {
$.mobile.popup.active.close();