Fixed invalid selector
authorMarcel Werk <burntime@woltlab.com>
Tue, 26 Jul 2016 08:42:56 +0000 (10:42 +0200)
committerMarcel Werk <burntime@woltlab.com>
Tue, 26 Jul 2016 08:42:56 +0000 (10:42 +0200)
wcfsetup/install/files/js/WCF.Moderation.js

index 796dfca41a297f813f29b45170b1574a588c5045..1f702a8eac4e70d138b0285987201957d0052efe 100644 (file)
@@ -572,7 +572,7 @@ WCF.Moderation.Report.Content = Class.extend({
        _submit: function() {
                var $text = this._dialog.find('.jsReportMessage').val();
                if ($.trim($text) == '') {
-                       this._dialog.find('fieldset > dl').addClass('formError');
+                       this._dialog.find('.section > dl').addClass('formError');
                        
                        if (!this._dialog.find('.innerError').length) {
                                this._dialog.find('.jsReportMessage').after($('<small class="innerError">' + WCF.Language.get('wcf.global.form.error.empty') + "</small>"));