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
4211eb17
Commit
4211eb17
authored
Nov 19, 2019
by
weibel manuel - mweibel
Browse files
Update paul.js
Remove link from group-icon in cours editmode
parent
ddc0ad8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
paul.js
View file @
4211eb17
<
script
type
=
"
text/javascript
"
>
// // // // //
// Version 2019/11/
06
by Wema
// Version 2019/11/
14
by Wema
// // // // //
var
headers1
=
document
.
getElementsByTagName
(
'
h1
'
);
var
headers2
=
document
.
getElementsByTagName
(
'
h2
'
);
...
...
@@ -364,4 +364,19 @@ if(isIE11 && (window.location.pathname + window.location.search + window.locatio
window
.
location
.
href
=
murl
+
faqPage
;
}
/* Wema Ende: IE11 Redirect */
/* Wema Start: Remove link from group-icon in edit mode */
if
(
isCoursePage
()){
var
arrGroupNames
=
new
Array
(
'
editing_groupsseparate
'
,
'
editing_groupsvisible
'
,
'
editing_groupsnone
'
);
for
(
var
i
=
0
;
i
<
arrGroupNames
.
length
;
i
++
)
{
var
nodeAnchor
=
document
.
getElementsByClassName
(
arrGroupNames
[
i
]
+
'
menu-action cm-edit-action
'
);
if
(
nodeAnchor
.
length
>
0
)
{
for
(
var
j
=
nodeAnchor
.
length
;
j
>
0
;
j
--
)
{
nodeAnchor
[
j
-
1
].
outerHTML
=
nodeAnchor
[
j
-
1
].
innerHTML
;
}
}
}
}
/* Wema Ende: Remove link from group-icon in edit mode */
<
/script>
\ No newline at end of file
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