From f6d6f81d5578291228ea9ee29fecce11f9e6910d Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 14 Apr 2017 18:21:11 +0200 Subject: [PATCH] send feedback when a user registers --- www/register/main.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/www/register/main.js b/www/register/main.js index 251a69f24..4c96763b8 100644 --- a/www/register/main.js +++ b/www/register/main.js @@ -68,6 +68,12 @@ define([ proxy.edPublic = result.edPublic; proxy.edPrivate = result.edPrivate; + // feedback API won't work because proxy wasn't loaded + $.ajax({ + type: 'HEAD', + url: '/common/feedback.html?REGISTRATION=' + (+new Date()); + }); + Cryptpad.whenRealtimeSyncs(result.realtime, function () { Cryptpad.login(result.userHash, result.userName, function () { if (sessionStorage.redirectTo) {