lint compliance

This commit is contained in:
yflory
2019-09-20 17:29:21 +02:00
parent 5d18dcc8ba
commit 45d37acc84
3 changed files with 4 additions and 9 deletions

View File

@@ -139,9 +139,6 @@ define([
// if not archived, add handlers
if (!content.archived) {
content.handler = function () {
var metadataMgr = common.getMetadataMgr();
var priv = metadataMgr.getPrivateData();
var link = h('a', {
href: '#'
}, Messages.requestEdit_viewPad);
@@ -281,7 +278,7 @@ define([
// Display the notification
var name = Util.fixHTML(msg.content.user.displayName) || Messages.anonymous;
var teamName = Util.fixHTML(Util.find(msg, ['content', 'team', 'metadata', 'name']) || '');
var key = 'owner_request_' + (msg.content.answer ? 'accepted' : 'declined');
//var key = 'owner_request_' + (msg.content.answer ? 'accepted' : 'declined');
content.getFormatText = function () {
//return Messages._getKey(key, [name, title]); // XXX
return name +' has ' + (msg.content.answer ? 'accepted' : 'declined') + ' your offer to join the team <b>' + teamName + '</b>';