diff options
author | Joonghun Park <jh718.park@samsung.com> | 2013-06-13 11:30:27 +0900 |
---|---|---|
committer | Joonghun Park <jh718.park@samsung.com> | 2013-06-19 00:01:00 +0900 |
commit | 1c0a68d47a57ef4fa3eff18373e904a71c9ef881 (patch) | |
tree | 473f8631db84f17a9a6adbb87b87ddc680093cbb | |
parent | b034c4d0ced3545b1b4433c02fd6e2ce6b90bc76 (diff) | |
download | TemporaryStorage-1c0a68d47a57ef4fa3eff18373e904a71c9ef881.tar.gz TemporaryStorage-1c0a68d47a57ef4fa3eff18373e904a71c9ef881.tar.bz2 TemporaryStorage-1c0a68d47a57ef4fa3eff18373e904a71c9ef881.zip |
[TemporaryStorage] add eventHandler for tizen hardware backKey
Change-Id: I8eb5b79073ab3bf99f0628511e7b5091e9124e20
-rwxr-xr-x | js/main.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -29,6 +29,11 @@ $(document).ready(function() { getStorage();
});
});
+
+ //add eventListener for tizenhwkey
+ document.addEventListener('tizenhwkey', function(e){
+ tizen.application.getCurrentApplication().exit();
+ });
});
/**
|