Skip to content

Commit

Permalink
Fixed FeatureLayer default checked
Browse files Browse the repository at this point in the history
  • Loading branch information
ashina-creator committed Apr 6, 2016
1 parent fda37e3 commit 25fe545
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setting/FeatureLayerEdit.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,12 @@ define(
}else{
this.showLabelsCbx.setValue(true)
}
if(config.trackEditByLDAP === false){
if(!config.trackEditByLDAP || config.trackEditByLDAP === false){
this.trackEditByLDAPCbx.setValue(false)
}else{
this.trackEditByLDAPCbx.setValue(true)
}
if(config.limitEditByLDAP === false){
if(!config.limitEditByLDAP || config.limitEditByLDAP === false){
this.limitEditByLDAPCbx.setValue(false)
}else{
this.limitEditByLDAPCbx.setValue(true)
Expand Down

0 comments on commit 25fe545

Please sign in to comment.