From: Piotr Kosko
Date: Thu, 29 Jan 2015 07:13:33 +0000 (+0100)
Subject: [Messaging] fixed synchronizable member
X-Git-Tag: submit/tizen_tv/20150603.064601~1^2~546
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=153ae5660f97f26f8056a9c88a497b7d5c493114;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git
[Messaging] fixed synchronizable member
Change-Id: I159aa99e209fb38bc774b5322cdc1508a3d196fd
Signed-off-by: Piotr Kosko
---
diff --git a/src/messaging/messaging_api.js b/src/messaging/messaging_api.js
index 7bb1b918..ca57742b 100644
--- a/src/messaging/messaging_api.js
+++ b/src/messaging/messaging_api.js
@@ -1498,7 +1498,7 @@ function MessageFolder(data) {
'synchronizable',
{
get: function () {return _internal.synchronizable;},
- set: function (value) { if (value) _internal.synchronizable = value;},
+ set: function (value) { _internal.synchronizable = Boolean(value);},
enumerable: true
}
);