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
voegeli martin extern - mvoegeli
pauljs
Commits
827032f8
Commit
827032f8
authored
Nov 19, 2019
by
weibel manuel - mweibel
Browse files
Update paul.js
remove redundant information
parent
8de2c44a
Changes
1
Hide whitespace changes
Inline
Side-by-side
paul.js
View file @
827032f8
...
@@ -368,7 +368,6 @@ if(isIE11 && (window.location.pathname + window.location.search + window.locatio
...
@@ -368,7 +368,6 @@ if(isIE11 && (window.location.pathname + window.location.search + window.locatio
/* Wema Start: Remove link from group-icon in edit mode */
/* Wema Start: Remove link from group-icon in edit mode */
if
(
isCoursePage
()){
if
(
isCoursePage
()){
var
arrGroupNames
=
new
Array
(
'
editing_groupsseparate
'
,
'
editing_groupsvisible
'
,
'
editing_groupsnone
'
);
var
icoTitle
=
{
var
icoTitle
=
{
editing_groupsseparate
:
{
editing_groupsseparate
:
{
de
:
'
Getrennte Gruppen
'
,
de
:
'
Getrennte Gruppen
'
,
...
@@ -383,11 +382,11 @@ if(isCoursePage()){
...
@@ -383,11 +382,11 @@ if(isCoursePage()){
en
:
'
No groups
'
en
:
'
No groups
'
}
}
};
};
for
(
var
i
=
0
;
i
<
arrGroupNames
.
length
;
i
++
)
{
for
(
var
i
coClassName
of
Object
.
keys
(
icoTitle
)
)
{
var
nodeAnchor
=
document
.
getElementsByClassName
(
arrGroupNames
[
i
]
+
'
menu-action cm-edit-action
'
);
var
nodeAnchor
=
document
.
getElementsByClassName
(
icoClassName
+
'
menu-action cm-edit-action
'
);
if
(
nodeAnchor
.
length
>
0
)
{
if
(
nodeAnchor
.
length
>
0
)
{
for
(
var
j
=
nodeAnchor
.
length
;
j
>
0
;
j
--
)
{
for
(
var
j
=
nodeAnchor
.
length
;
j
>
0
;
j
--
)
{
nodeAnchor
[
j
-
1
].
outerHTML
=
nodeAnchor
[
j
-
1
].
innerHTML
.
replace
(
'
class=
'
,
'
title="
'
+
icoTitle
[
arrGroupNames
[
i
]
][
document
.
documentElement
.
lang
]
+
'
" class=
'
);
nodeAnchor
[
j
-
1
].
outerHTML
=
nodeAnchor
[
j
-
1
].
innerHTML
.
replace
(
'
class=
'
,
'
title="
'
+
icoTitle
[
icoClassName
][
document
.
documentElement
.
lang
]
+
'
" class=
'
);
}
}
}
}
}
}
...
...
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