saving the clipboard text also in the curr_prompt.text. see #362
This commit is contained in:
parent
6bbe521e12
commit
829f87a510
1 changed files with 1 additions and 0 deletions
|
|
@ -120,6 +120,7 @@ export class mzta_Menus {
|
||||||
return {ok:'0'};
|
return {ok:'0'};
|
||||||
}
|
}
|
||||||
msg_text.selection = clipboardText;
|
msg_text.selection = clipboardText;
|
||||||
|
msg_text.text = clipboardText;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error("Clipboard read error:", e);
|
console.error("Clipboard read error:", e);
|
||||||
browser.tabs.sendMessage(tabs[0].id, { command: "sendAlert", curr_tab_type: tabs[0].type, message: browser.i18n.getMessage('clipboard_read_error') });
|
browser.tabs.sendMessage(tabs[0].id, { command: "sendAlert", curr_tab_type: tabs[0].type, message: browser.i18n.getMessage('clipboard_read_error') });
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue