From ac829dae01bb192cfc5647a2042a67833ea12785 Mon Sep 17 00:00:00 2001 From: satyasaibhushan Date: Fri, 12 Feb 2021 03:46:16 +0530 Subject: [PATCH 1/2] removed options from edit drop down and also in translations --- client/components/Nav.jsx | 34 ------------------- translations/locales/en-US/translations.json | 2 -- translations/locales/es-419/translations.json | 2 -- translations/locales/hi/translations.json | 2 -- translations/locales/ja/translations.json | 2 -- 5 files changed, 42 deletions(-) diff --git a/client/components/Nav.jsx b/client/components/Nav.jsx index d3e81c2da9..205b35f2ed 100644 --- a/client/components/Nav.jsx +++ b/client/components/Nav.jsx @@ -42,9 +42,7 @@ class Nav extends React.PureComponent { this.handleFind = this.handleFind.bind(this); this.handleAddFile = this.handleAddFile.bind(this); this.handleAddFolder = this.handleAddFolder.bind(this); - this.handleFindNext = this.handleFindNext.bind(this); this.handleRun = this.handleRun.bind(this); - this.handleFindPrevious = this.handleFindPrevious.bind(this); this.handleReplace = this.handleReplace.bind(this); this.handleStop = this.handleStop.bind(this); this.handleStartAccessible = this.handleStartAccessible.bind(this); @@ -128,16 +126,6 @@ class Nav extends React.PureComponent { this.setDropdown('none'); } - handleFindNext() { - this.props.cmController.findNext(); - this.setDropdown('none'); - } - - handleFindPrevious() { - this.props.cmController.findPrev(); - this.setDropdown('none'); - } - handleReplace() { this.props.cmController.showReplace(); this.setDropdown('none'); @@ -447,28 +435,6 @@ class Nav extends React.PureComponent { {metaKeyName}+F -
  • - -
  • -
  • - -
  • - -