Skip to content

Commit

Permalink
Don't close panel if use-commit=false
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuwen Qian committed Jul 22, 2016
1 parent 71b457a commit 4a910a8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/strand-datepicker/strand-datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,9 @@
this.end = wrappedEnd.toDate();
}

if(!silent) {
this.fire('saved', { start:this.start, end:this.end });
this.fire('saved', { start:this.start, end:this.end });

if(this.useCommit) {
this.close();
}
},
Expand Down

0 comments on commit 4a910a8

Please sign in to comment.