|
@@ -55,9 +55,9 @@ const Newrole = Form.create()(React.createClass({
|
|
|
this.setState({
|
|
|
loading: true
|
|
|
});
|
|
|
- if(selectAllId.checked){
|
|
|
- if(selectAllId.checked[0]==null){
|
|
|
- selectAllId.checked.splice(0,1)
|
|
|
+ if(selectAllId){
|
|
|
+ if(selectAllId[0]==null){
|
|
|
+ selectAllId.splice(0,1)
|
|
|
}
|
|
|
}
|
|
|
$.ajax({
|