fix view in vier and frio
This commit is contained in:
parent
cbc6dc9caf
commit
56a5f58823
1 changed files with 16 additions and 3 deletions
|
@ -83,9 +83,22 @@ function saml_footer(string &$body)
|
||||||
var target=$("#settings-nickname-desc");
|
var target=$("#settings-nickname-desc");
|
||||||
if (target.length) { target.append("<p>$fragment</p>"); }
|
if (target.length) { target.append("<p>$fragment</p>"); }
|
||||||
document.getElementById('id_email').setAttribute('readonly', 'readonly');
|
document.getElementById('id_email').setAttribute('readonly', 'readonly');
|
||||||
document.getElementById('password-settings').remove();
|
if ( document.getElementById('password-settings') != null ) {
|
||||||
document.getElementById('password-settings-collapse').remove();
|
document.getElementById('password-settings').remove();
|
||||||
document.getElementById('id_mpassword_wrapper').remove();
|
}
|
||||||
|
if ( document.getElementById('password-settings-collapse') != null ) {
|
||||||
|
document.getElementById('password-settings-collapse').remove();
|
||||||
|
}
|
||||||
|
if ( document.getElementById('id_mpassword_wrapper') != null ) {
|
||||||
|
document.getElementById('id_mpassword_wrapper').remove();
|
||||||
|
}
|
||||||
|
if ( document.getElementById('wrapper_mpassword') != null ) {
|
||||||
|
document.getElementById('wrapper_mpassword').remove();
|
||||||
|
}
|
||||||
|
if ( document.getElementById('wrapper_password') != null ) {
|
||||||
|
document.getElementById('wrapper_password').parentNode.parentNode.children[0].remove();
|
||||||
|
document.getElementById('wrapper_password').parentNode.remove();
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
EOL;
|
EOL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue