Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
potage
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mathieu
potage
Commits
cedd7032
Commit
cedd7032
authored
Jul 26, 2018
by
Mat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[resolu] Utilisateurs ajax recherche live, répare le bug du chevauchement de requêtes
parent
6e4a3910
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
src/PotageBundle/Resources/views/Utilisateur/ajaxDisplay.js
src/PotageBundle/Resources/views/Utilisateur/ajaxDisplay.js
+2
-6
No files found.
src/PotageBundle/Resources/views/Utilisateur/ajaxDisplay.js
View file @
cedd7032
...
...
@@ -29,12 +29,7 @@ function reloadTableSearchUtilisateur(qString)
let
searchURL
=
Routing
.
generate
(
'
api_utilisateur_search
'
,
qString
);
refreshSearchStats
(
searchURL
);
tbody
.
innerHTML
=
null
;
sleep
(
300
).
then
(()
=>
{
// TODO le sleep est encore buggé
getTableBodyUtilisateur
(
searchURL
);
});
getTableBodyUtilisateur
(
searchURL
);
}
...
...
@@ -47,6 +42,7 @@ function getTableBodyUtilisateur(URL)
{
let
json
=
JSON
.
parse
(
request
.
responseText
);
tbody
.
innerHTML
=
null
;
for
(
let
i
=
0
;
i
<
json
.
length
;
i
++
)
{
let
tr
=
buildRowUtilisateur
(
json
[
i
]);
...
...
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