projects
/
test
/
tct
/
web
/
behavior.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
214285e
)
Behavior TC Notification update api modify
author
Choi
<choi@Choi.(none)>
Thu, 15 Aug 2013 06:20:59 +0000
(15:20 +0900)
committer
Fan,Yugang
<yugang.fan@intel.com>
Thu, 15 Aug 2013 07:22:05 +0000
(15:22 +0800)
tests/Notification/js/main.js
patch
|
blob
|
history
diff --git
a/tests/Notification/js/main.js
b/tests/Notification/js/main.js
index
2246a99
..
a45edd1
100644
(file)
--- a/
tests/Notification/js/main.js
+++ b/
tests/Notification/js/main.js
@@
-150,12
+150,16
@@
function postNotification(type) {
try {
var noti = new tizen.StatusNotification(type, title, notiDict);
tizen.notification.post(noti);
- noti.progressValue = 63;
- tizen.notification.update(noti);
alert(type + " Notification Add");
+ setTimeout(update, 3000);
} catch (exc) {
alert("notification.post failed: " + exc.message);
}
+
+ function update() {
+ noti.progressValue = 63;
+ tizen.notification.update(noti);
+ }
}
function fileURI() {