mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-04-27 14:54:53 +02:00
Only run if no type is defined
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
1338ae13cd
commit
4bbeb4709b
|
@ -57,11 +57,15 @@ $(function() {
|
|||
|
||||
$('#user-saml-choose-saml').click(function(e) {
|
||||
e.preventDefault();
|
||||
OCA.User_SAML.Admin.chooseSaml();
|
||||
if(type === '') {
|
||||
OCA.User_SAML.Admin.chooseSaml();
|
||||
}
|
||||
});
|
||||
$('#user-saml-choose-env').click(function(e) {
|
||||
e.preventDefault();
|
||||
OCA.User_SAML.Admin.chooseEnv();
|
||||
if(type === '') {
|
||||
OCA.User_SAML.Admin.chooseEnv();
|
||||
}
|
||||
});
|
||||
|
||||
// Enable tabs
|
||||
|
|
Loading…
Reference in a new issue