From: Piotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자
Date: Thu, 18 Apr 2019 11:54:27 +0000 (+0200)
Subject: [Content] isFavorite added to editableAttributes array
X-Git-Tag: submit/tizen/20190510.110853~5^2^2^2
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b7e9feeb078c810f999051bfd3abdc563ee9973a;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git
[Content] isFavorite added to editableAttributes array
[Bug] Since 2.3 isFavorite is an editableAttribute, which was missing
in editableAttributes array. Now added it there.
[Verification] Code compiles without errors.
Change-Id: Ib5266a66920f0050fd5c25287602514bc4ea3762
---
diff --git a/src/content/js/datatypes.js b/src/content/js/datatypes.js
index adb826d9..5f28dc59 100755
--- a/src/content/js/datatypes.js
+++ b/src/content/js/datatypes.js
@@ -121,7 +121,7 @@ function ContentDirectory(data) {
function Content(data) {
- var editableAttributes = ['name', 'rating', 'description'];
+ var editableAttributes = ['name', 'rating', 'description', 'isFavorite'];
var id;
var name;
var type;