Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(clearThisRowInvisible) not using parameter reason #3429

Merged
merged 1 commit into from
May 19, 2015

Conversation

valepu
Copy link
Contributor

@valepu valepu commented May 6, 2015

Not sure if intended but clearThisRowInvisible is not using the parameter "reason" when deleting the "invisible reason" but it always deletes the hardcoded parameter "user".
This shouldn't change any other behavior since ui-grid internal functions call this function only with the parameter "user" but it will fix any unexpected behavior when using this function with a custom invisible reason

Haven't put a check if the value exists since "delete" fails silently in that case

Not sure if intended but clearThisRowInvisible is not using the parameter "reason" when deleting the "invisible reason" but it always deletes the hardcoded parameter "user". 
This shouldn't change any other behavior since ng-grid internal functions call this function only with the parameter "user" but it will fix any error if someone was directly using this function with a custom invisible reason
PaulL1 added a commit that referenced this pull request May 19, 2015
fix(clearThisRowInvisible) not using parameter reason
@PaulL1 PaulL1 merged commit 9028ed3 into angular-ui:master May 19, 2015
@PaulL1
Copy link
Contributor

PaulL1 commented May 19, 2015

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants