From 0b3db54ba0143f176c39d0c00c68579ca7ccd574 Mon Sep 17 00:00:00 2001 From: mic Date: Tue, 10 Dec 2024 23:35:30 +0100 Subject: [PATCH] returning a value to the popup also for the classic prompts. --- js/mzta-menus.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/mzta-menus.js b/js/mzta-menus.js index b6a085a6..b25bb091 100644 --- a/js/mzta-menus.js +++ b/js/mzta-menus.js @@ -192,6 +192,7 @@ export class mzta_Menus { } }else{ // Classic prompts for the API webchat this.openChatGPT(fullPrompt, curr_prompt.action, tabs[0].id, curr_prompt.name, curr_prompt.need_custom_text); + return {ok:'1'}; } }; this.rootMenu.push(curr_menu_entry);