Skip to content

Commit

Permalink
Only set record ID if given
Browse files Browse the repository at this point in the history
  • Loading branch information
danschultz committed Mar 7, 2012
1 parent 10f626f commit d67b83b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mesh/model/Record.as
Expand Up @@ -240,7 +240,9 @@ package mesh.model

public function sycned(id:Object = null):Record
{
this.id = id;
if (id != null) {
this.id = id;
}
changeState(state.synced());
return this;
}
Expand Down

0 comments on commit d67b83b

Please sign in to comment.