Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Wolfgang Knopki
Spacedeck-open-SAML
Commits
d544caf4
Commit
d544caf4
authored
Apr 09, 2020
by
mntmn
Browse files
anonymous editor: don't ask for username if already logged in
parent
2dbfae59
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/javascripts/spacedeck_spaces.js
View file @
d544caf4
...
...
@@ -276,15 +276,6 @@ var SpacedeckSpaces = {
// FIXME
this
.
active_join_link
=
""
;
this
.
join_link_role
=
"
viewer
"
;
// FIXME
if
(
this
.
active_space_role
==
"
admin
"
)
{
this
.
space_info_section
=
"
access
"
;
}
else
if
(
this
.
active_space_role
==
"
editor
"
)
{
//this.space_info_section="versions";
}
else
{
this
.
space_info_section
=
"
info
"
;
}
}
}.
bind
(
this
),
function
(
xhr
)
{
...
...
@@ -313,7 +304,7 @@ var SpacedeckSpaces = {
userReady
();
}
if
(
space_auth
)
{
if
(
!
this
.
user
&&
space_auth
)
{
if
(
this
.
guest_nickname
)
{
userReady
();
}
else
{
...
...
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