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:
@@ -168,3 +168,25 @@ function ajaxValidate(parent, id, values) {
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
//
|
||||
// END: Form validation and field operations
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
// User preferences allow/disallow UI
|
||||
//
|
||||
|
||||
$(function() {
|
||||
$('.userprefs-allow').click(function(e) {
|
||||
if (this != e.target) {
|
||||
return;
|
||||
}
|
||||
var el = $(this).find('input');
|
||||
el.attr('checked', !el.attr('checked'));
|
||||
});
|
||||
});
|
||||
|
||||
//
|
||||
// END: User preferences allow/disallow UI
|
||||
// ------------------------------------------------------------------
|
Reference in New Issue
Block a user