Fix prompt edit popup not appearing after refactoring
This commit is contained in:
parent
25eef5d100
commit
670119e143
|
@ -830,7 +830,7 @@ PromptManagerModule.prototype.makeDraggable = function () {
|
||||||
* @returns {void}
|
* @returns {void}
|
||||||
*/
|
*/
|
||||||
PromptManagerModule.prototype.showEditForm = function () {
|
PromptManagerModule.prototype.showEditForm = function () {
|
||||||
$('#openai_prompt_manager_popup').first()
|
$('#'+this.configuration.prefix +'prompt_manager_popup').first()
|
||||||
.slideDown(200, "swing")
|
.slideDown(200, "swing")
|
||||||
.addClass('openDrawer');
|
.addClass('openDrawer');
|
||||||
}
|
}
|
||||||
|
@ -840,7 +840,7 @@ PromptManagerModule.prototype.showEditForm = function () {
|
||||||
* @returns {void}
|
* @returns {void}
|
||||||
*/
|
*/
|
||||||
PromptManagerModule.prototype.hideEditForm = function () {
|
PromptManagerModule.prototype.hideEditForm = function () {
|
||||||
$('#openai_prompt_manager_popup').first()
|
$('#'+this.configuration.prefix +'prompt_manager_popup').first()
|
||||||
.slideUp(200, "swing")
|
.slideUp(200, "swing")
|
||||||
.removeClass('openDrawer');
|
.removeClass('openDrawer');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue