Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ $(function() {
break;
}
el.html(t('user_saml', text));
nextSibling.toggleClass('hidden');

if (nextSibling.is(":visible")) {
nextSibling.slideUp();
} else {
nextSibling.slideDown();
}
});
});
2 changes: 1 addition & 1 deletion templates/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/** @var array $_ */
?>
<form id="user-saml" class="section" action="#" method="post">
<h2><?php p($l->t('SAML')); ?></h2>
<h2 class="inlineblock"><?php p($l->t('SAML')); ?></h2>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the inlineblock for? Other templates don't have it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This allows the save notification to appear on the same level right beside the heading

<div id="user-saml-save-indicator" class="msg success inlineblock" style="display: none;">Saved</div>

<div id="user-saml-settings">
Expand Down