Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
telecomnancy
edt
Commits
6b4069b4
Commit
6b4069b4
authored
5 years ago
by
Gerald Oster
Browse files
Options
Download
Email Patches
Plain Diff
[fix] sanitize multiple room in location field (and add extra space after semicolon)
parent
c6c47c6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
js/ical_fullcalendar.js
js/ical_fullcalendar.js
+3
-1
No files found.
js/ical_fullcalendar.js
View file @
6b4069b4
...
...
@@ -94,7 +94,9 @@ function merge_events(e, f) {
}
function
sanitize_location
(
location
)
{
return
location
.
replace
(
'
Remicourt_
'
,
''
);
// return location.replace('Remicourt_', '');
return
location
.
replace
(
/Remicourt_/g
,
''
).
replace
(
/,/g
,
'
,
'
);
}
function
sanitize_description
(
description
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment