From 670119e143eedb7eac3b270eb0df8e39a15bfa71 Mon Sep 17 00:00:00 2001 From: maver Date: Sun, 25 Jun 2023 20:34:25 +0200 Subject: [PATCH] Fix prompt edit popup not appearing after refactoring --- public/scripts/PromptManager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/scripts/PromptManager.js b/public/scripts/PromptManager.js index d158d2983..678ddf268 100644 --- a/public/scripts/PromptManager.js +++ b/public/scripts/PromptManager.js @@ -830,7 +830,7 @@ PromptManagerModule.prototype.makeDraggable = function () { * @returns {void} */ PromptManagerModule.prototype.showEditForm = function () { - $('#openai_prompt_manager_popup').first() + $('#'+this.configuration.prefix +'prompt_manager_popup').first() .slideDown(200, "swing") .addClass('openDrawer'); } @@ -840,7 +840,7 @@ PromptManagerModule.prototype.showEditForm = function () { * @returns {void} */ PromptManagerModule.prototype.hideEditForm = function () { - $('#openai_prompt_manager_popup').first() + $('#'+this.configuration.prefix +'prompt_manager_popup').first() .slideUp(200, "swing") .removeClass('openDrawer'); }