summaryrefslogtreecommitdiff
path: root/media/admin_media/js/admin/CollapsedFieldsets.js
diff options
context:
space:
mode:
Diffstat (limited to 'media/admin_media/js/admin/CollapsedFieldsets.js')
-rw-r--r--media/admin_media/js/admin/CollapsedFieldsets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/admin_media/js/admin/CollapsedFieldsets.js b/media/admin_media/js/admin/CollapsedFieldsets.js
index c8426db2..d66bec0d 100644
--- a/media/admin_media/js/admin/CollapsedFieldsets.js
+++ b/media/admin_media/js/admin/CollapsedFieldsets.js
@@ -47,7 +47,7 @@ var CollapsedFieldsets = {
// Returns true if any fields in the fieldset have validation errors.
var divs = fs.getElementsByTagName('div');
for (var i=0; i<divs.length; i++) {
- if (divs[i].className.match(/\berror\b/)) {
+ if (divs[i].className.match(/\berrors\b/)) {
return true;
}
}