Skip to content

added $event to on-day-click second param after date#40

Open
emps wants to merge 1 commit into
jsmodules:masterfrom
emps:master
Open

added $event to on-day-click second param after date#40
emps wants to merge 1 commit into
jsmodules:masterfrom
emps:master

Conversation

@emps

@emps emps commented Dec 21, 2015

Copy link
Copy Markdown

$event added as second parameter just to not make problems with ppl that use first param for date,
this helps with md-dialog while u need to add an click $event from where and to where open/close the dialog with $mdDialog targetEvent: $event,

@ChunkRadius

Copy link
Copy Markdown
Collaborator

Awesome, thanks for the contribution. Going to check it out in the next couple of days when I have a chance, but it looks good and hope to merge it ASAP.

@gavinbarron

Copy link
Copy Markdown
Collaborator

This needs some fixes to resolve merge conflicts.

@jaspersorrio

Copy link
Copy Markdown

This is a much need feature. It's already Oct 2016.. Can we look into this again?

@maroun-baydoun

Copy link
Copy Markdown

@bradberger Are there any plans to merge this and release it?

@ChunkRadius

ChunkRadius commented Sep 14, 2017 via email

Copy link
Copy Markdown
Collaborator

@maroun-baydoun

Copy link
Copy Markdown

@bradberger Thank you for your reply.
I would be happy to help in any capacity I can.

@ChunkRadius ChunkRadius left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The handleDayClick should be backwards compatible, so $event should be the second parameter. Other than that I think that we should move ahead with the merge.

};

$scope.handleDayClick = function (date) {
$scope.handleDayClick = function ($event, date) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks backwards compatibility, so it should be $scope.handleDayClick = function(date, $event) so as to be backwards compatible

@ChunkRadius

ChunkRadius commented Sep 14, 2017

Copy link
Copy Markdown
Collaborator

Is anyone available to fix the merge issues and update the order of the handleDayClick parameters so we can merge this? cc/ @maroun-baydoun @emps @jaspersorrio

@maroun-baydoun

Copy link
Copy Markdown

@bradberger Opened #120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants