Permalink
Browse files

fomslib: MDL-18735 disabledif not working in IE if depended on elemen…

…t was a <select>.

This was a regression from MDL-18522. Sorry.
  • Loading branch information...
1 parent 579c4bc commit f5187943c0c1b308574a4fd28d910646c8512ab1 tjhunt committed Apr 6, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/javascript-static.js
View
@@ -202,7 +202,7 @@ function lockoptionsallsetup(formid) {
if (!masters) {
continue;
}
- if (!masters[0]) {
+ if (masters.tagName) {
// If master is radio buttons, we get an array, otherwise we don't.
// Convert both cases to an array for convinience.
masters = [masters];

0 comments on commit f518794

Please sign in to comment.