*Make entry point for hideuser aspect of blocks (requires 'hideuser' right). Still...
[lhc/web/wiklou.git] / skins / common / block.js
index 430c1d5..741dd76 100644 (file)
@@ -50,4 +50,7 @@ function updateBlockOptions() {
 
        var emailblockRow = document.getElementById('wpEnableEmailBan');
        emailblockRow.style.display = isIp && !isEmpty ? 'none' : '';
+       
+       var emailblockRow = document.getElementById('wpEnableHideUser');
+       emailblockRow.style.display = isIp && !isEmpty ? 'none' : '';
 }