Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
lemonldap-ng
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
cc5dfe2c
Commit
cc5dfe2c
authored
Jan 12, 2016
by
Yadd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Download multi keys before evaluate auth module to display (#883)
parent
773ccfe7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
lemonldap-ng-manager/site/static/js/filterFunctions.js
lemonldap-ng-manager/site/static/js/filterFunctions.js
+10
-1
No files found.
lemonldap-ng-manager/site/static/js/filterFunctions.js
View file @
cc5dfe2c
...
...
@@ -29,6 +29,9 @@ var filterFunctions = {
for
(
var
i
=
1
;
i
<
3
;
i
++
)
{
node
.
nodes
[
i
].
data
=
node
.
nodes
[
0
].
data
;
}
if
(
node
.
nodes
[
0
].
data
.
match
(
/^Multi/
))
{
node
.
nodes
[
2
].
data
=
'
Null
'
;
}
//all = true;
}
node
.
nodes
.
forEach
(
function
(
n
)
{
...
...
@@ -48,16 +51,22 @@ var filterFunctions = {
}
else
{
scope
.
waiting
=
true
;
console
.
log
(
'
coucou
'
);
scope
.
download
({
'
$modelValue
'
:
nd
[
1
]
}).
then
(
function
()
{
filterFunctions
.
authParams
(
scope
,
$q
,
node
)
});
return
;
};
}
else
if
(
node
.
nodes
[
0
].
data
==
'
Multi
'
&&
n
.
id
==
'
multiParams
'
)
{
var
nd
=
n
.
_nodes
?
n
.
_nodes
:
n
.
nodes
;
if
(
typeof
nd
[
0
].
data
===
'
undefined
'
)
{
$q
.
all
([
scope
.
getKey
(
nd
[
0
]),
scope
.
getKey
(
nd
[
1
])]).
then
(
function
()
{
filterFunctions
.
authParams
(
scope
,
$q
,
node
)
});
return
;
}
/* TODO: Change this with multiValueSeparator when it will be set in tree */
var
sep
=
'
;
'
;
var
reg
=
new
RegExp
(
sep
+
'
\\
s*(
\\
w+)
'
,
'
g
'
);
...
...
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