Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pixel Humain
api
Commits
98936491
Commit
98936491
authored
Jun 07, 2019
by
Clément Damiens
Browse files
up api refac biendElt edit and delete and links
parent
57a4bf7a
Changes
3
Hide whitespace changes
Inline
Side-by-side
assets/js/default/agenda.js
View file @
98936491
...
@@ -313,7 +313,7 @@ function autoCompleteSearch(name, locality, indexMin, indexMax){
...
@@ -313,7 +313,7 @@ function autoCompleteSearch(name, locality, indexMin, indexMax){
});
});
//initialise les boutons pour garder une entité dans Mon répertoire (boutons links)
//initialise les boutons pour garder une entité dans Mon répertoire (boutons links)
initBtnLink
();
directory
.
bindBtnElement
();
}
//end else (str=="")
}
//end else (str=="")
...
@@ -354,7 +354,7 @@ function autoCompleteSearch(name, locality, indexMin, indexMax){
...
@@ -354,7 +354,7 @@ function autoCompleteSearch(name, locality, indexMin, indexMax){
});
});
}
}
function
initBtnLink
(){
function
directory
.
bindBtnElement
(){
//parcours tous les boutons link pour vérifier si l'entité est déjà dans mon répertoire
//parcours tous les boutons link pour vérifier si l'entité est déjà dans mon répertoire
$
.
each
(
$
(
"
.followBtn
"
),
function
(
index
,
value
){
$
.
each
(
$
(
"
.followBtn
"
),
function
(
index
,
value
){
...
...
assets/js/default/directory.js
View file @
98936491
...
@@ -298,7 +298,7 @@ function autoCompleteSearch(name, locality, indexMin, indexMax){
...
@@ -298,7 +298,7 @@ function autoCompleteSearch(name, locality, indexMin, indexMax){
//});
//});
//initialise les boutons pour garder une entité dans Mon répertoire (boutons links)
//initialise les boutons pour garder une entité dans Mon répertoire (boutons links)
initBtnLink
();
directory
.
bindBtnElement
();
}
//end else (str=="")
}
//end else (str=="")
...
@@ -327,7 +327,7 @@ function autoCompleteSearch(name, locality, indexMin, indexMax){
...
@@ -327,7 +327,7 @@ function autoCompleteSearch(name, locality, indexMin, indexMax){
}
}
function
initBtnLink
(){
function
directory
.
bindBtnElement
(){
$
(
'
.tooltips
'
).
tooltip
();
$
(
'
.tooltips
'
).
tooltip
();
//parcours tous les boutons link pour vérifier si l'entité est déjà dans mon répertoire
//parcours tous les boutons link pour vérifier si l'entité est déjà dans mon répertoire
$
.
each
(
$
(
"
.followBtn
"
),
function
(
index
,
value
){
$
.
each
(
$
(
"
.followBtn
"
),
function
(
index
,
value
){
...
...
assets/js/default/globalsearch.js
View file @
98936491
...
@@ -249,7 +249,7 @@ function autoCompleteSearchGS(search, indexMin, indexMax){
...
@@ -249,7 +249,7 @@ function autoCompleteSearchGS(search, indexMin, indexMax){
});
});
//initialise les boutons pour garder une entité dans Mon répertoire (boutons links)
//initialise les boutons pour garder une entité dans Mon répertoire (boutons links)
//
initBtnLink
GS();
//
directory.bindBtnElement
GS();
}
//end else (str=="")
}
//end else (str=="")
...
...
Write
Preview
Supports
Markdown
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