[Calendar] Fixed setting isAllDay attribute.
authorTomasz Marciniak <t.marciniak@samsung.com>
Tue, 20 Oct 2015 13:02:34 +0000 (15:02 +0200)
committerTomasz Marciniak <t.marciniak@samsung.com>
Tue, 20 Oct 2015 13:02:34 +0000 (15:02 +0200)
[Verification] Code compiles. TCT 100%

Change-Id: I8216fe5dd78b948eb2b27d24f89f5bfc24bff423
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
src/calendar/js/calendar_item.js

index c4d5402988f343d04ff36f84d82dbf96b5eafa6f..35717e299a1432edf90e2b71802a30e689d7ac42 100755 (executable)
@@ -201,7 +201,7 @@ var CalendarItem = function(data) {
         return _isAllDay;
       },
       set: function(v) {
-        _isAllDay = v ? converter_.toBoolean(v) : _isAllDay;
+        _isAllDay = converter_.toBoolean(v);
       },
       enumerable: true
     },