add $cfg['UserprefsDisallow'] and allow setting it in setup script

correct IE opacity issue for "restore default value" button
fix regressions introduced in previous commit
This commit is contained in:
Crack
2010-06-21 19:12:25 +02:00
parent d09c35f5a8
commit e5238f3845
8 changed files with 133 additions and 25 deletions

View File

@@ -571,7 +571,8 @@ function restoreField(field_id) {
$(function() {
$('.restore-default, .set-value').each(function() {
var link = $(this);
link.css('opacity', 0.25);
// inline-block for IE so opacity inheritance works
link.css('display', 'inline-block').css('opacity', 0.25);
if (!link.hasClass('restore-default')) {
// restore-default is handled by markField
link.css('display', '');