[Content] isFavorite added to editableAttributes array 21/204021/1
authorPiotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 <p.kosko@samsung.com>
Thu, 18 Apr 2019 11:54:27 +0000 (13:54 +0200)
committerPiotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 <p.kosko@samsung.com>
Thu, 18 Apr 2019 11:54:30 +0000 (13:54 +0200)
[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

src/content/js/datatypes.js

index adb826d9f0129ae4a0373879dc27c1e79a18f391..5f28dc599145577b0c2f79f77891537154b777ae 100755 (executable)
@@ -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;