Permalink
Browse files

Only set indeterminate on checkboxes, to avoid IE errors, refs #83

  • Loading branch information...
1 parent 716a482 commit 7a96d5675fc0d576b9d54e09f028a6475e1f9f00 @kriszyp committed Feb 22, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 Selector.js
View
@@ -24,8 +24,10 @@ define(["dojo/on", "dojo/aspect", "dojo/_base/sniff", "put-selector/put"], funct
break;
}
}
- headerCheckbox.indeterminate = mixed;
- headerCheckbox.checked = grid.allSelected;
+ if(headerCheckbox.type == "checkbox"){
+ headerCheckbox.indeterminate = mixed;
+ headerCheckbox.checked = grid.allSelected;
+ }
};
}

0 comments on commit 7a96d56

Please sign in to comment.