Skip to content
Snippets Groups Projects
Commit 9617c274 authored by Robert Speicher's avatar Robert Speicher
Browse files

Merge branch 'issue_15390' into 'master'

Fix javascript errors with invalid json because of commas

fixes #15390 

See merge request !3827
parents 6521ac73 97b5e49d
No related branches found
No related tags found
2 merge requests!4779Test/#123 Master,!3827Fix javascript errors with invalid json because of commas
Pipeline #
Loading
Loading
@@ -151,6 +151,6 @@
:javascript
new MilestoneSelect('{"namespace":"#{@project.namespace.path}","path":"#{@project.path}"}');
new LabelsSelect();
new IssuableContext('#{current_user.to_json(only: [:username, :id, :name])}');
new IssuableContext('#{escape_javascript(current_user.to_json(only: [:username, :id, :name]))}');
new Subscription('.subscription')
new Sidebar();
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment