[Messaging] fixed synchronizable member
authorPiotr Kosko <p.kosko@samsung.com>
Thu, 29 Jan 2015 07:13:33 +0000 (08:13 +0100)
committerPawel Andruszkiewicz <p.andruszkie@samsung.com>
Thu, 29 Jan 2015 08:21:19 +0000 (17:21 +0900)
Change-Id: I159aa99e209fb38bc774b5322cdc1508a3d196fd
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
src/messaging/messaging_api.js

index 7bb1b9184cd6c548eb9145f0ff0a74e8d3d18cff..ca57742bbe09f57016c6a972c3f743fe3eb39143 100644 (file)
@@ -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
                 }
         );