projects
/
samples
/
web
/
ExercisePlanner.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0afca74
)
[ExercisePlanner] updated ExercisePlanner sources
author
Piotr Dabrowski
<p.dabrowski2@samsung.com>
Wed, 31 Jul 2013 10:45:29 +0000
(12:45 +0200)
committer
Piotr Dabrowski
<p.dabrowski2@samsung.com>
Wed, 31 Jul 2013 10:45:29 +0000
(12:45 +0200)
Change-Id: Iee3ae924300d87c4d43da938446012c22e506c6b
js/UI.js
patch
|
blob
|
history
diff --git
a/js/UI.js
b/js/UI.js
index
a623909
..
c4d672b
100644
(file)
--- a/
js/UI.js
+++ b/
js/UI.js
@@
-346,7
+346,9
@@
function UI() {
document.addEventListener('tizenhwkey', function(e) {
if (e.keyName == 'back') {
- if ($.mobile.activePage.attr('id') === 'one') {
+ if ($.mobile.popup.active) {
+ $.mobile.popup.active.close();
+ } else if ($.mobile.activePage.attr('id') === 'one') {
tizen.application.getCurrentApplication().exit();
} else {
history.back();