diff --git a/SingularityUI/app/views/requestFormEdit.coffee b/SingularityUI/app/views/requestFormEdit.coffee index 92fa7da52b..b9d53dbf29 100644 --- a/SingularityUI/app/views/requestFormEdit.coffee +++ b/SingularityUI/app/views/requestFormEdit.coffee @@ -67,6 +67,7 @@ class RequestFormEdit extends RequestFormBaseView serverRequest.done (response) => @lockdown = false @alert "Your Request #{ response.id } has been updated" + Backbone.history.navigate "/request/#{ response.id }", {trigger: true} serverRequest.error (response) => @postSave() diff --git a/SingularityUI/app/views/requestFormNew.coffee b/SingularityUI/app/views/requestFormNew.coffee index e7044d95d4..b8d59a2065 100644 --- a/SingularityUI/app/views/requestFormNew.coffee +++ b/SingularityUI/app/views/requestFormNew.coffee @@ -14,6 +14,7 @@ class RequestFormNew extends RequestFormBaseView serverRequest.done (response) => @lockdown = false @alert "Your Request #{ response.id } has been created" + Backbone.history.navigate "/request/#{ response.id }", {trigger: true} serverRequest.error (response) => @postSave() @@ -23,4 +24,4 @@ class RequestFormNew extends RequestFormBaseView console.error response -module.exports = RequestFormNew \ No newline at end of file +module.exports = RequestFormNew