From 964a4238796de4a4b69b43f83f4c99ccd8615e64 Mon Sep 17 00:00:00 2001 From: or-else Date: Sun, 4 Feb 2018 18:51:38 -0800 Subject: [PATCH] removed logging and renamed a few methods for clarity --- index.html | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index dd646f26..6a6487a9 100644 --- a/index.html +++ b/index.html @@ -1247,7 +1247,6 @@ break; default:; }; - console.log("SidepanelView", this.props.foundContacts); return (
0) { this.props.contacts.map(function(c) { - console.log("ContactList", c); var key = c.topic ? c.topic : c.user; // If filter function is provided, filter out the items // which don't satisfy the condition. @@ -1847,7 +1844,6 @@ /* BEGIN Create new topic and invite users or send an invite */ var NewTopicView = React.createClass({ getInitialState: function() { - console.log("NewTopicView", this.props.foundContacts); return { tabSelected: "p2p", searchQuery: this.props.contactsSearchQuery, @@ -1859,7 +1855,6 @@ this.props.onInitFind(); }, componentWillReceiveProps: function(nextProps) { - console.log("NewTopicView-new props", nextProps.foundContacts); this.setState({ searchQuery: nextProps.contactsSearchQuery, contactList: nextProps.foundContacts @@ -1874,10 +1869,10 @@ this.props.onCreateTopic(sel, undefined); } }, - handleGroupSubmit: function(name, dataUrl, priv) { + handleNewGroupSubmit: function(name, dataUrl, priv) { this.props.onCreateTopic(undefined, vcard(name, dataUrl), priv); }, - handleGroupSubscribe: function(topicName) { + handleGroupByID: function(topicName) { this.props.onCreateTopic(topicName); }, render: function() { @@ -1895,9 +1890,9 @@ {this.state.tabSelected === "grp" ? - : + : this.state.tabSelected === "byId" ? - : + :