There is no need to enable the "enable moderation" checkbox dynamically, except when commenting is disabled/enabled globally.
svn path=/plone.app.discussion/trunk/; revision=46261
This commit is contained in:
parent
08857df7a9
commit
be78fbe300
@ -56,9 +56,6 @@
|
||||
if (moderation_custom === true) {
|
||||
$.disableSettings([$('#formfield-form-widgets-moderation_enabled'), ]);
|
||||
}
|
||||
else {
|
||||
$.enableSettings([$('#formfield-form-widgets-moderation_enabled'), ]);
|
||||
}
|
||||
}
|
||||
//#JSCOVERAGE_IF 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user