{"action":"opened","issue":{"url":"https://api.github.com/repos/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/225","labels_url":"https://api.github.com/repos/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/225/comments","events_url":"https://api.github.com/repos/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/225/events","html_url":"https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/225","id":102828573,"number":225,"title":"modifyEventWithOptions method with \"moving\" problem","user":{"login":"bau720123","id":5110085,"avatar_url":"https://avatars.githubusercontent.com/u/5110085?v=3","gravatar_id":"","url":"https://api.github.com/users/bau720123","html_url":"https://github.com/bau720123","followers_url":"https://api.github.com/users/bau720123/followers","following_url":"https://api.github.com/users/bau720123/following{/other_user}","gists_url":"https://api.github.com/users/bau720123/gists{/gist_id}","starred_url":"https://api.github.com/users/bau720123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bau720123/subscriptions","organizations_url":"https://api.github.com/users/bau720123/orgs","repos_url":"https://api.github.com/users/bau720123/repos","events_url":"https://api.github.com/users/bau720123/events{/privacy}","received_events_url":"https://api.github.com/users/bau720123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-24T16:06:36Z","updated_at":"2015-08-24T16:06:36Z","closed_at":null,"body":"when I use\r\n\r\nstep 0，global variable\r\n```\r\nvar title = \"title\";\r\nvar newTitle = \"newtitle\";\r\nvar location = \"location\"\r\nvar notes = \"notes\";\r\nvar startDate = new Date(new Date().getTime());\r\nvar endDate = new Date(new Date().getTime() + 3*24*60*60*1000);\r\nvar futureDate = new Date(new Date().getTime() + 6*24*60*60*1000);\r\n\r\nvar calendarName = \"mycalendar\";\r\nvar newcalendarName = \"mynewcalendar\";\r\nvar calOptions = window.plugins.calendar.getCalendarOptions();\r\nvar newOptions = window.plugins.calendar.getCalendarOptions();\r\n```\r\n\r\nstep 1，I create two calendar，one is \"mycalendar\" and the others is \"mynewcalendar\"，work perfect\r\n```\r\nwindow.plugins.calendar.createCalendar(calendarName, success, error);\r\nwindow.plugins.calendar.createCalendar(newcalendarName, success, error);\r\n```\r\n\r\nstep 2，I create a event in \"mycalendar\"，work perfect\r\n```\r\ncalOptions.firstReminderMinutes = 120;\r\ncalOptions.secondReminderMinutes = 5;\r\ncalOptions.recurrenceEndDate = new Date(2015,10,1,0,0,0,0,0);\r\ncalOptions.calendarName = calendarName;\r\ncalOptions.recurrenceInterval = 2;\r\n```\r\n\r\nstep 3，I tried to use \"modifyEventWithOptions\" and want to move the exist event to \"mynewcalendar\"，but the moving action not execute，it still in  \"mycalendar\"\r\nbut the firstReminderMinutes value and newTitle value are all update correct\r\n```\r\ncalOptions.calendarName = calendarName;\r\ncalOptions.id = \"D9B1D85E-1182-458D-B110-4425F17819F1\";\r\n newOptions.calendaName = newcalendarName;\r\n newOptions.firstReminderMinutes = 60; \r\n window.plugins.calendar.modifyEventWithOptions(title, location, notes, startDate, endDate, newTitle, location, notes, startDate, endDate, calOptions, newOptions, success, error);\r\n```"}}