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

Update list on new spec #27

Merged
merged 9 commits into from
May 19, 2016
Merged

Update list on new spec #27

merged 9 commits into from
May 19, 2016

Conversation

quincyle
Copy link
Contributor

@quincyle quincyle commented May 12, 2016

This is a #minor# change
Change behavior for row clicking selection
Feature for shiftKey down selection
Feature for ctrlKey down selection

@@ -12,18 +12,30 @@ export default Ember.Component.extend({
isSelected: Ember.computed.reads('model.isSelected'),

onclick: Ember.on('click', function (event) {
if (!Ember.ViewUtils.isSimpleClick(event)) {
if (!Ember.ViewUtils.isSimpleClick(event) && !event.shiftKey && !event.metaKey && !event.ctrlKey) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm trying to keep the function running when shiftKey or CtrlKey is pressed even it's not a SimpleClick.

@sglanzer-deprecated
Copy link
Contributor

Unless the functionality is required immediately, I'd like to spend an hour cleaning this code up before accepting the PR

@sglanzer-deprecated
Copy link
Contributor

sglanzer-deprecated commented May 19, 2016

Approved with discussed changes

Approved with PullApprove

@rox163
Copy link
Contributor

rox163 commented May 19, 2016

👍

Approved with PullApprove

@rox163 rox163 closed this May 19, 2016
@rox163 rox163 reopened this May 19, 2016
@rox163
Copy link
Contributor

rox163 commented May 19, 2016

sorry misclicked 'close and comment' :(

@quincyle quincyle merged commit bc64027 into ciena-frost:master May 19, 2016
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.

None yet

3 participants