diff --git a/assets/javascripts/principal_roles.js b/assets/javascripts/principal_roles.js index 9beb7bb9c4..d63eb6d6e9 100644 --- a/assets/javascripts/principal_roles.js +++ b/assets/javascripts/principal_roles.js @@ -1,7 +1,6 @@ var principal_roles = { init: function(){ principal_roles.set_table_visibility(); - principal_roles.set_role_selection_visibility(); }, set_table_visibility: function(){ @@ -16,18 +15,6 @@ var principal_roles = { } }, - set_role_selection_visibility: function(){ - $$('.principal_role_option').each(function(element){ - if($$('.assigned_global_role_' + element.down('input').value).length > 0){ - //element.hide(); - } - else{ - //element.show(); - } - //element.checked = false; - }) - }, - role_already_assigned: function(){ return ($$('.assigned_global_role_' + element.down('input').value).length > 0) }