From 6324d9bbb0026d922e6039d6fd477ffc379d2410 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 23 May 2017 14:54:40 +0200 Subject: [PATCH] feedback on template feature usage --- www/common/cryptpad-common.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index 18ea8678e..0559c1ce9 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -445,6 +445,7 @@ define([ Crypt.put(p.hash, val, function () { common.findOKButton().click(); common.removeLoadingScreen(); + common.feedback('TEMPLATE_USED'); }); }); }).appendTo($p); @@ -923,6 +924,7 @@ define([ common.addTemplate(makePad(href, title)); whenRealtimeSyncs(getStore().getProxy().info.realtime, function () { common.alert(Messages.templateSaved); + common.feedback('TEMPLATE_CREATED'); }); }); };