Index: misc/states.js
===================================================================
RCS file: /cvs/drupal/drupal/misc/states.js,v
retrieving revision 1.5
diff -u -p -r1.5 states.js
--- misc/states.js	6 Dec 2010 16:10:29 -0000	1.5
+++ misc/states.js	30 Dec 2010 06:17:02 -0000
@@ -116,8 +116,20 @@ states.Dependent.prototype = {
       return states.Dependent.comparisons[reference.constructor.name](reference, value);
     }
     else {
-      // Do a plain comparison otherwise.
-      return compare(reference, value);
+      // If multiple values are specified then return true if any of them match.
+      if (typeof reference == "object") {
+        for (var key in reference) {
+          // Return true if any of the values match.
+          if (compare(reference[key], value)) {
+            return true;
+          }
+        }
+        return false;
+      }
+      else {
+        // Do a plain comparison otherwise.
+        return compare(reference, value);
+      }
     }
   },
 
