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

Added clickable/highlighted tables #57

Merged
merged 3 commits into from
Jul 12, 2013
Merged

Conversation

mhxu
Copy link
Collaborator

@mhxu mhxu commented Jul 11, 2013

Also fixed a bug with clickable rows not being able to click on links/buttons in the row. fixes #44

@hansonw
Copy link
Owner

hansonw commented Jul 11, 2013

Yeah, I'd add a rowClick attribute similar to the rowHref attribute to the _action_table template. Cool i can edit your comment

@mhxu
Copy link
Collaborator Author

mhxu commented Jul 11, 2013

Hmm. Our comments dissappeared. I might of done something wrong.

@@ -10,6 +10,7 @@
:locals => {
:name => 'data',
:model => "client.#{field[:id]}.value",
:rowModule => "editInField('#{field[:id]}',$index)",
Copy link
Collaborator

Choose a reason for hiding this comment

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

rowModal, though I'd actually prefer rowClick

@mhxu
Copy link
Collaborator Author

mhxu commented Jul 12, 2013

I changed the stuff you asked for. Should I create an issue for the TODO?

@DouglasSherk
Copy link
Collaborator

No, it's not important enough for an issue.

DouglasSherk added a commit that referenced this pull request Jul 12, 2013
Added clickable/highlighted tables
@DouglasSherk DouglasSherk merged commit f57fa33 into hansonw:master Jul 12, 2013
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.

All tables should have clickable rows (see recent clients table for how to implement)
3 participants