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:
Timo Stollenwerk 2010-12-12 07:35:43 +00:00
parent 08857df7a9
commit be78fbe300

View File

@ -56,9 +56,6 @@
if (moderation_custom === true) {
$.disableSettings([$('#formfield-form-widgets-moderation_enabled'), ]);
}
else {
$.enableSettings([$('#formfield-form-widgets-moderation_enabled'), ]);
}
}
//#JSCOVERAGE_IF 0