diff --git a/client/modules/IDE/pages/IDEView.jsx b/client/modules/IDE/pages/IDEView.jsx index 0f0ebf83..ac9e1a78 100644 --- a/client/modules/IDE/pages/IDEView.jsx +++ b/client/modules/IDE/pages/IDEView.jsx @@ -157,6 +157,10 @@ class IDEView extends React.Component { e.stopPropagation(); if (this.isUserOwner() || (this.props.user.authenticated && !this.props.project.owner)) { this.props.saveProject(); + } else if (this.props.user.authenticated) { + this.props.cloneProject(); + } else { + this.props.showErrorModal('forceAuthentication'); } // 13 === enter } else if (e.keyCode === 13 && e.shiftKey && ((e.metaKey && this.isMac) || (e.ctrlKey && !this.isMac))) { @@ -486,10 +490,10 @@ class IDEView extends React.Component { }