Update change log and spec for wrt-plugins-tizen_0.4.59
[framework/web/wrt-plugins-tizen.git] / src / Calendar / JSCalendar.cpp
index 803d450..55e6efc 100755 (executable)
@@ -1054,7 +1054,7 @@ JSValueRef JSCalendar::removeChangeListener(JSContextRef context,
         if (argumentCount>=1) {
             watchId = converter.toLong(arguments[0]);
         } else {
-            ThrowMsg(ConversionException, "Wrong parameter type.");
+            watchId = converter.toLong(JSValueMakeUndefined(context));
         }
 
         LoggerD("Make sync operation with watchId: "<<watchId);