receiving the error message from Sparks

This commit is contained in:
mic 2025-01-22 21:33:22 +01:00
parent 38c3e97464
commit ab7d08f6a0

View file

@ -283,7 +283,7 @@ export class mzta_Menus {
if(result_openCalendarEventDialog == 'ok'){
return {ok:'1'};
} else {
browser.tabs.sendMessage(tabs[0].id, { command: "sendAlert", curr_tab_type: tabs[0].type, message: browser.i18n.getMessage("calendar_opening_dialog_error") });
browser.tabs.sendMessage(tabs[0].id, { command: "sendAlert", curr_tab_type: tabs[0].type, message: browser.i18n.getMessage("calendar_opening_dialog_error") + ": " + result_openCalendarEventDialog.error });
return {ok:'0'};
}
break; // Get a calendar event info - END