merge wrt-plugins-tizen_0.2.0-3
[platform/framework/web/wrt-plugins-tizen.git] / src / standards / Tizen / Contact / JSContactAnniversary.cpp
index 403c52f..653aa63 100755 (executable)
@@ -218,8 +218,10 @@ JSObjectRef JSContactAnniversary::constructor(JSContextRef context,
 
        ContactAnniversaryPtr contactAnniversary(new ContactAnniversary());
        contactAnniversary->setDate(date);
-       if(labelIsSet)
-               contactAnniversary->setLabel(label);
+
+       // NOTE: Currently not support label field
+       //if(labelIsSet)
+       //      contactAnniversary->setLabel(label);
 
        JSObjectRef jsobject;
 
@@ -313,10 +315,11 @@ bool JSContactAnniversary::setLabel(JSContextRef context,
 {
        Try
        {
-               ContactAnniversaryPtr anniversary = getPrivData(object);
-               ContactConverterFactory::ConverterType converter =
-                               ContactConverterFactory::getConverter(context);
-               anniversary->setLabel(converter->toString(value));
+               // NOTE: Currently not support this field
+               //ContactAnniversaryPtr anniversary = getPrivData(object);
+               //ContactConverterFactory::ConverterType converter =
+               //              ContactConverterFactory::getConverter(context);
+               //anniversary->setLabel(converter->toString(value));
                return true;
        }
        Catch(WrtDeviceApis::Commons::Exception)