mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Redirect to cloned project after copy
This commit is contained in:
parent
f886f19429
commit
330d4f5a16
1 changed files with 1 additions and 2 deletions
|
@ -22,8 +22,7 @@ define [
|
||||||
$scope.state.inflight = true
|
$scope.state.inflight = true
|
||||||
cloneProject($scope.inputs.projectName)
|
cloneProject($scope.inputs.projectName)
|
||||||
.then (data) ->
|
.then (data) ->
|
||||||
console.log "DATA", data
|
window.location = "/project/#{data.data.project_id}"
|
||||||
#window.location = "/project/#{data.project_id}"
|
|
||||||
|
|
||||||
$scope.cancel = () ->
|
$scope.cancel = () ->
|
||||||
$modalInstance.dismiss('cancel')
|
$modalInstance.dismiss('cancel')
|
Loading…
Reference in a new issue