From 8ff8b47f35b30859aaaa21c0582a455de548cb3f Mon Sep 17 00:00:00 2001 From: Zuzanna Ludzik Date: Tue, 8 Sep 2026 17:13:26 +0200 Subject: [PATCH] move handler --- www/common/sframe-common-outer.js | 4 ++++ www/secureiframe/main.js | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/www/common/sframe-common-outer.js b/www/common/sframe-common-outer.js index e95389659..1405412c7 100644 --- a/www/common/sframe-common-outer.js +++ b/www/common/sframe-common-outer.js @@ -1533,6 +1533,10 @@ define([ }); }); }); + + sframeChan.on('Q_GET_PAD_TEAMS', function (types, cb) { + Cryptpad.getPadTeams(types, cb); + }); }; addCommonRpc(sframeChan, isSafe); diff --git a/www/secureiframe/main.js b/www/secureiframe/main.js index 6dd81e364..bbada15f8 100644 --- a/www/secureiframe/main.js +++ b/www/secureiframe/main.js @@ -162,11 +162,6 @@ define([ }); }); - - sframeChan.on('Q_GET_PAD_TEAMS', function (types, cb) { - Cryptpad.getPadTeams(types, cb); - }); - sframeChan.on('EV_SECURE_ACTION', function (data) { config.onAction(data); });