correctly returning a response with the internal messaging system even when asking for additional text
This commit is contained in:
parent
a16639f881
commit
136795a45e
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ export class mzta_Menus {
|
||||||
//A selection is needed, but nothing is selected!
|
//A selection is needed, but nothing is selected!
|
||||||
//alert(browser.i18n.getMessage('prompt_selection_needed'));
|
//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') });
|
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 = '';
|
let body_text = '';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue