From 5668458211140370a3be0921bfa8518d9e659e08 Mon Sep 17 00:00:00 2001 From: Pawel Kaczmarczyk Date: Wed, 27 Sep 2017 10:33:04 +0200 Subject: [PATCH] [Notification] Fix for getNotification and UserNotification constructor [Bug] progressValue wasn't stored propperly, getNotification was requesting for StatusNotification object [Verification] Tested in Chrome console Change-Id: I12b221988bf6d984cd79a4ab28a1fe09bb0bcbe7 Signed-off-by: Pawel Kaczmarczyk --- src/notification/notification_api.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/notification/notification_api.js b/src/notification/notification_api.js index b4cd723..1b8bc52 100644 --- a/src/notification/notification_api.js +++ b/src/notification/notification_api.js @@ -206,7 +206,7 @@ NotificationManager.prototype.getNotification = function(id) { var data = { //add marker for UserNotification implementation - newImpl: (args.notification instanceof tizen.UserNotification), + newImpl: true, id: args.id }; @@ -781,6 +781,7 @@ function TextContentsInitDict(data) { }); if (data instanceof _global.Object) { + this['progressType'] = data['progressType']; for (var prop in data) { if (this.hasOwnProperty(prop)) { this[prop] = data[prop]; -- 2.7.4