Revision 9b51b2b2
Added by Ohad Levy over 5 years ago
app/assets/javascripts/application.js | ||
---|---|---|
$('#ntsh').hide();
|
||
}
|
||
}
|
||
|
||
function auth_source_selected(){
|
||
var auth_source_id = $('#user_auth_source_id option:selected').text();
|
||
if (auth_source_id == 'INTERNAL') {
|
||
$("#password").show();
|
||
} else {
|
||
$("#password").hide();
|
||
}
|
||
}
|
||
|
||
function show_release(element){
|
||
var os_family = $(element).val();
|
||
if ($.inArray(os_family, ['Debian', 'Solaris', 'Coreos']) != -1) {
|
Also available in: Unified diff
fixes #24191 - moves auth_source_selected JS function to webpack