From 1127e8e7aeab4864384d9b0afc131e5f7e72e050 Mon Sep 17 00:00:00 2001 From: Philippe Potvin Date: Tue, 5 Mar 2019 20:29:27 -0500 Subject: [PATCH] Remove forgoten code (#3510) --- lib/components/term-group.js | 1 - lib/components/terms.js | 1 - lib/containers/terms.js | 12 +----------- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/lib/components/term-group.js b/lib/components/term-group.js index ee6df1fa..f78c74df 100644 --- a/lib/components/term-group.js +++ b/lib/components/term-group.js @@ -86,7 +86,6 @@ class TermGroup_ extends React.PureComponent { onResize: this.bind(this.props.onResize, null, uid), onTitle: this.bind(this.props.onTitle, null, uid), onData: this.bind(this.props.onData, null, uid), - onURLAbort: this.bind(this.props.onURLAbort, null, uid), onContextMenu: this.bind(this.props.onContextMenu, null, uid), borderColor: this.props.borderColor, selectionColor: this.props.selectionColor, diff --git a/lib/components/terms.js b/lib/components/terms.js index 41d6e330..37202384 100644 --- a/lib/components/terms.js +++ b/lib/components/terms.js @@ -120,7 +120,6 @@ export default class Terms extends React.Component { onResize: this.props.onResize, onTitle: this.props.onTitle, onData: this.props.onData, - onURLAbort: this.props.onURLAbort, onContextMenu: this.props.onContextMenu, quickEdit: this.props.quickEdit, webGLRenderer: this.props.webGLRenderer, diff --git a/lib/containers/terms.js b/lib/containers/terms.js index 1bf590bb..39899455 100644 --- a/lib/containers/terms.js +++ b/lib/containers/terms.js @@ -1,12 +1,6 @@ import Terms from '../components/terms'; import {connect} from '../utils/plugins'; -import { - resizeSession, - sendSessionData, - exitSessionBrowser, - setSessionXtermTitle, - setActiveSession -} from '../actions/sessions'; +import {resizeSession, sendSessionData, setSessionXtermTitle, setActiveSession} from '../actions/sessions'; import {openContextMenu} from '../actions/ui'; import getRootGroups from '../selectors'; @@ -64,10 +58,6 @@ const TermsContainer = connect( dispatch(resizeSession(uid, cols, rows)); }, - onURLAbort(uid) { - dispatch(exitSessionBrowser(uid)); - }, - onActive(uid) { dispatch(setActiveSession(uid)); },