Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beat.web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
beat
beat.web
Commits
73f76014
Commit
73f76014
authored
8 years ago
by
Philip ABBET
Browse files
Options
Downloads
Patches
Plain Diff
[toolchains] Fix
#393
- Cancelling edition generates a 404 (NOT FOUND)
parent
4521c801
No related branches found
No related tags found
1 merge request
!221
v1.2.0rc1 bugfixes
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
beat/web/toolchains/templates/toolchains/edition.html
+4
-0
4 additions, 0 deletions
beat/web/toolchains/templates/toolchains/edition.html
with
4 additions
and
0 deletions
beat/web/toolchains/templates/toolchains/edition.html
+
4
−
0
View file @
73f76014
...
...
@@ -205,7 +205,11 @@ function setupEditor(databases, toolchains)
};
toolchain_editor
.
callbacks
.
onClose
=
function
(
declaration
)
{
{
%
if
not
edition
%
}
window
.
location
=
'
{% url "toolchains:list" toolchain_author %}
'
;
{
%
else
%
}
window
.
location
=
'
{% url "toolchains:view" toolchain_author toolchain_name toolchain_version %}
'
;
{
%
endif
%
}
};
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment