Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
thirdPartyArchiving
Commits
48cbe65c
Verified
Commit
48cbe65c
authored
Mar 08, 2018
by
Alexandre Morin
Browse files
#7377 - Replace the point with a underscore
parent
c51ad5fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
presentation/maarchRM/Resources/view/medona/message/messageModal.html
View file @
48cbe65c
...
...
@@ -71,8 +71,8 @@
}
else
{
filename
=
filename
.
substr
(
0
,
filename
.
lastIndexOf
(
'
.
'
))
||
filename
;
}
window
.
open
(
"
/medona/message/
"
+
messageId
+
"
/attachment/
"
+
$
(
this
).
data
(
'
id
'
)
+
"
/
"
+
filename
.
replace
(
/ /g
,
"
_
"
));
var
regEx
=
new
RegExp
(
'
[ .]
'
,
'
gi
'
);
window
.
open
(
"
/medona/message/
"
+
messageId
+
"
/attachment/
"
+
$
(
this
).
data
(
'
id
'
)
+
"
/
"
+
filename
.
replace
(
regEx
,
"
_
"
));
})
$
(
'
#messageModal
'
).
on
(
'
click
'
,
'
.showResource
'
,
function
()
{
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment