From 214e187d4f42290f643e92cdfd0314ebe7265ba2 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 17 May 2023 08:17:37 +0200 Subject: [PATCH] ui: fix reloading subscription info after key upload ExtJS has a `listeners` but no `listener` config, so add the missing `s` to ensure the upload window destroy event callback is triggered. Signed-off-by: Thomas Lamprecht --- www/Subscription.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/Subscription.js b/www/Subscription.js index f7b68f94..7f1de468 100644 --- a/www/Subscription.js +++ b/www/Subscription.js @@ -144,7 +144,7 @@ Ext.define('PBS.Subscription', { Ext.create('PBS.SubscriptionKeyEdit', { url: '/api2/extjs/' + baseurl, autoShow: true, - listener: { + listeners: { destroy: () => reload(), }, });