Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xwiki-platform
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
XWiki
xwiki-platform
Commits
79eea626
Commit
79eea626
authored
10 months ago
by
Michael Hamann
Browse files
Options
Downloads
Patches
Plain Diff
Revert "XWIKI-18356: "aria-labelledby" for navigation panel entries and corre…"
This reverts commit
8b53ddb8
.
parent
d4389179
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xwiki-platform-core/xwiki-platform-tree/xwiki-platform-tree-webjar/src/main/webjar/tree.js
+2
-10
2 additions, 10 deletions
...m-tree/xwiki-platform-tree-webjar/src/main/webjar/tree.js
with
2 additions
and
10 deletions
xwiki-platform-core/xwiki-platform-tree/xwiki-platform-tree-webjar/src/main/webjar/tree.js
+
2
−
10
View file @
79eea626
...
...
@@ -71,15 +71,7 @@ define([
urlParams
[
pair
[
0
]]
=
pair
[
1
];
}
}
return
$
.
post
(
new
URL
(
'
?
'
,
url
),
$
.
param
(
$
.
extend
(
urlParams
,
data
),
true
))
.
then
((
nodes
)
=>
{
nodes
.
forEach
((
object
)
=>
{
// Each node will be rendered as an HTML element.
// As such, we want to make sure we escape space characters in their ids
object
.
id
=
object
.
id
.
replaceAll
(
'
%
'
,
'
%25
'
).
replaceAll
(
'
'
,
'
%20
'
);
});
return
nodes
;
});
return
$
.
post
(
new
URL
(
'
?
'
,
url
),
$
.
param
(
$
.
extend
(
urlParams
,
data
),
true
));
};
var
getChildren
=
function
(
node
,
callback
,
parameters
)
{
...
...
@@ -111,7 +103,7 @@ define([
childrenURL
=
this
.
element
.
attr
(
'
data-url
'
);
parameters
=
$
.
extend
({
data
:
'
children
'
,
id
:
node
.
id
.
replaceAll
(
'
%20
'
,
'
'
).
replaceAll
(
'
%25
'
,
'
%
'
)
id
:
node
.
id
},
parameters
);
}
if
(
childrenURL
)
{
...
...
This diff is collapsed.
Click to expand it.
Git Mirror User
@gitmirror
mentioned in commit
df006341
·
10 months ago
mentioned in commit
df006341
mentioned in commit df0063410f889e61fc8b197430fc4f025a360538
Toggle commit list
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