Skip to content

Commit

Permalink
Merge pull request #8 from huberm416/master
Browse files Browse the repository at this point in the history
Catching closing and cancellation
  • Loading branch information
David Poetzsch-Heffter authored Jun 14, 2017
2 parents 6241fdd + 1a1e462 commit 30d401a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/mdpDatePicker/mdpDatePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ module.provider("$mdpDatePicker", function() {
},
multiple: true,
parent: PARENT_GETTER()
})
.catch(() => {
return null;
});
};

Expand Down
3 changes: 3 additions & 0 deletions src/components/mdpTimePicker/mdpTimePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,9 @@ module.provider("$mdpTimePicker", function() {
},
multiple: true,
parent: PARENT_GETTER()
})
.catch(() => {
return;
});
};

Expand Down

0 comments on commit 30d401a

Please sign in to comment.