Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging

pull/1/head
yflory 8 years ago
commit b1b7da862b

@ -445,6 +445,7 @@ define([
Crypt.put(p.hash, val, function () { Crypt.put(p.hash, val, function () {
common.findOKButton().click(); common.findOKButton().click();
common.removeLoadingScreen(); common.removeLoadingScreen();
common.feedback('TEMPLATE_USED');
}); });
}); });
}).appendTo($p); }).appendTo($p);
@ -923,6 +924,7 @@ define([
common.addTemplate(makePad(href, title)); common.addTemplate(makePad(href, title));
whenRealtimeSyncs(getStore().getProxy().info.realtime, function () { whenRealtimeSyncs(getStore().getProxy().info.realtime, function () {
common.alert(Messages.templateSaved); common.alert(Messages.templateSaved);
common.feedback('TEMPLATE_CREATED');
}); });
}); });
}; };

Loading…
Cancel
Save