openEventDialog 기능을 확인하십시오.이 기능은 수동으로 수행하려는 경우 434 행의 일부 창 인수를 정의합니다.
/**
* Opens the event dialog with the given item (task OR event)
*
* @param calendarItem The item to open the dialog with
* @param calendar The calendar to open the dialog with.
* @param mode The operation the dialog should do ("new", "modify")
* @param callback The callback to call when the dialog has completed.
* @param job (optional) The job object for the modification.
* @param initialDate (optional) The initial date for new task datepickers
*/
function openEventDialog(calendarItem, calendar, mode, callback, job, initialDate)
이 기능은 기본 Thunderbird 창의 윈도우 개체에서 직접 호출 할 수 있습니다. 예를 들어, 결국이 함수를 호출하는 스크립트 블록이있는 윈도우에 XUL 오버레이를 추가하여 수행 할 수 있습니다.
이 기능을 다른 애드온 (addon)에서 어떻게 호출 할 수 있습니까? –
정보를 추가했습니다.이 정보가 명확하면 알려주세요. –