Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/user_saml.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-07-10 21:08:59 +0300
committerBjoern Schiessle <bjoern@schiessle.org>2018-08-03 13:43:19 +0300
commit0aa53413a673c4fec2e8506f85e4e661b27b4948 (patch)
tree2405143d50f317a05391b38ed838b310eb035803 /js/admin.js
parentda69ddd5e37b8e18dcf0fe5afbf86c81ba425b81 (diff)
Update XML download button to current idp
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'js/admin.js')
-rw-r--r--js/admin.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/admin.js b/js/admin.js
index 5f377394..f8014cf4 100644
--- a/js/admin.js
+++ b/js/admin.js
@@ -186,6 +186,9 @@ $(function() {
});
$('input:checkbox[value="1"]').attr('checked', true);
$('input:checkbox[value="0"]').attr('checked', false);
+ var xmlDownloadButton = $('#get-metadata');
+ var url = xmlDownloadButton.data('base') + '?idp=' + providerId;
+ xmlDownloadButton.attr('href', url);
});
};