correctly returning a response with the internal messaging system even when asking for additional text

This commit is contained in:
Mic 2024-12-13 00:48:00 +01:00
parent a16639f881
commit 136795a45e

View file

@ -93,7 +93,7 @@ export class mzta_Menus {
//A selection is needed, but nothing is selected!
//alert(browser.i18n.getMessage('prompt_selection_needed'));
browser.tabs.sendMessage(tabs[0].id, { command: "sendAlert", curr_tab_type: tabs[0].type, message : browser.i18n.getMessage('prompt_selection_needed') });
return;
return {ok:'0'};
}
let body_text = '';