Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dolibarr_module_extendedemail
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
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
Dolibarr extension
dolibarr_module_extendedemail
Commits
3cfacf8a
Commit
3cfacf8a
authored
7 months ago
by
KHELIFA
Browse files
Options
Downloads
Plain Diff
Merge branch '2024_rc' into '2024'
2024 rc See merge request
!36
parents
c6daf356
d18a48c2
No related branches found
No related tags found
2 merge requests
!37
2024 rc get dol function
,
!36
2024 rc
Pipeline
#3478
passed
7 months ago
Stage: code_quality
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ChangeLog.md
+5
-1
5 additions, 1 deletion
ChangeLog.md
VERSION
+1
-1
1 addition, 1 deletion
VERSION
js/extendedemail.js.php
+8
-1
8 additions, 1 deletion
js/extendedemail.js.php
with
14 additions
and
3 deletions
ChangeLog.md
+
5
−
1
View file @
3cfacf8a
...
...
@@ -3,6 +3,9 @@ Le format du fichier est basé sur [Tenez un ChangeLog](http://keepachangelog.co
## [Non Distribué]
## [14.0.8] - 29-08-2024
-
Correction prise en compte de contact avec des parenthèses dans le nom, prenom, poste
## [14.0.7] - 29-08-2024
-
Correction compatibilité token obligatoire
...
...
@@ -154,7 +157,8 @@ Le format du fichier est basé sur [Tenez un ChangeLog](http://keepachangelog.co
## [4.0.0] - 08-09-2017
-
Version initial.
[
Non Distribué
]:
http://git.open-dsi.fr/dolibarr-extension/extendedemail/compare/14.0.7...HEAD
[
Non Distribué
]:
http://git.open-dsi.fr/dolibarr-extension/extendedemail/compare/14.0.8...HEAD
[
14.0.8
]:
http://git.open-dsi.fr/dolibarr-extension/extendedemail/commits/14.0.8
[
14.0.7
]:
http://git.open-dsi.fr/dolibarr-extension/extendedemail/commits/14.0.7
[
14.0.6
]:
http://git.open-dsi.fr/dolibarr-extension/extendedemail/commits/14.0.6
[
14.0.5
]:
http://git.open-dsi.fr/dolibarr-extension/extendedemail/commits/14.0.5
...
...
This diff is collapsed.
Click to expand it.
VERSION
+
1
−
1
View file @
3cfacf8a
14.0.7
\ No newline at end of file
14.0.8
\ No newline at end of file
This diff is collapsed.
Click to expand it.
js/extendedemail.js.php
+
8
−
1
View file @
3cfacf8a
...
...
@@ -492,7 +492,14 @@ function extendedemail_reject_enter_key(event)
function extendedemail_get_email_infos(text, type, id, replace_parenthesis)
{
text = text.trim().replace('
<
', '
<
').
replace
('&
gt
;',
'
>
');
if (!!replace_parenthesis) text = text.replace('(', '
<
').
replace
(')',
'
>
');
if (!!replace_parenthesis
&&
text.indexOf('@') != -1
&&
(text.indexOf('
<
'
) =
=
-1
||
text.indexOf
('
>
') == -1)) {
let first_pos = text.lastIndexOf('(');
let middle_pos = text.lastIndexOf('@');
let last_pos = text.lastIndexOf(')');
if (first_pos != -1
&&
first_pos
<
middle_pos
&&
middle_pos
<
last_pos
)
{
text =
text.substring(0,
first_pos
)
+
'<'
+
text.substring
(
first_pos
+
1,
last_pos
)
+
'
>
' + text.substring(last_pos + 1);
}
}
if (text.length > 0) {
var match = text.match(extendedemail_regex);
if (match) {
...
...
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