Sfoglia il codice sorgente

remove unnecessary code

itizawa 6 anni fa
parent
commit
dc76b3db4b
1 ha cambiato i file con 0 aggiunte e 6 eliminazioni
  1. 0 6
      src/client/js/components/PageComments.jsx

+ 0 - 6
src/client/js/components/PageComments.jsx

@@ -42,7 +42,6 @@ class PageComments extends React.Component {
     this.growiRenderer = this.props.appContainer.getRenderer('comment');
     this.growiRenderer = this.props.appContainer.getRenderer('comment');
 
 
     this.init = this.init.bind(this);
     this.init = this.init.bind(this);
-    this.confirmToEditComment = this.confirmToEditComment.bind(this);
     this.confirmToDeleteComment = this.confirmToDeleteComment.bind(this);
     this.confirmToDeleteComment = this.confirmToDeleteComment.bind(this);
     this.deleteComment = this.deleteComment.bind(this);
     this.deleteComment = this.deleteComment.bind(this);
     this.showDeleteConfirmModal = this.showDeleteConfirmModal.bind(this);
     this.showDeleteConfirmModal = this.showDeleteConfirmModal.bind(this);
@@ -63,11 +62,6 @@ class PageComments extends React.Component {
     this.props.commentContainer.retrieveComments();
     this.props.commentContainer.retrieveComments();
   }
   }
 
 
-  confirmToEditComment(comment) {
-    // TODO GW-141 show editor
-    console.log("Pushed Edit button");
-  }
-
   confirmToDeleteComment(comment) {
   confirmToDeleteComment(comment) {
     this.setState({ commentToDelete: comment });
     this.setState({ commentToDelete: comment });
     this.showDeleteConfirmModal();
     this.showDeleteConfirmModal();