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

Some simple changes, one more controversial one #13

Merged
merged 5 commits into from May 24, 2011
Merged

Conversation

foliosus
Copy link
Contributor

The first two commits in here are really straight-forward; they make it easier to include the rest_in_place into a large app. The added semicolons make sure that you can concatenate the JS with other JS files into a single download, and the switch from $ to jQuery makes it work in compatibility mode.

The third commit is a bit more interesting, however -- it's changes to the JS to add an "active" class to the containing element when the form is activated. That scratches an itch of mine so that I can style all of the in-place fields on my site.

@janv
Copy link
Owner

janv commented May 23, 2011

I actually like the idea of adding the css class, but "active" seems a bit too generic.
This might cause conflicts with existing CSS.
Could you live with "rip-active" ?

@foliosus
Copy link
Contributor Author

"rip-active" works for me. I just want something I can hook into. :)

On May 23, 2011, at 2:11 PM, janv wrote:

I actually like the idea of adding the css class, but "active" seems a bit too generic.
This might cause conflicts with existing CSS.
Could you live with "rip-active" ?

Reply to this email directly or view it on GitHub:
#13 (comment)

@janv
Copy link
Owner

janv commented May 23, 2011

Then please modify the pull request and I'll happily merge it.

@foliosus
Copy link
Contributor Author

Once you've accepted these, I've got a couple of other patches for you :)

janv added a commit that referenced this pull request May 24, 2011
Adding CSS class "rip-active" to active form field and a small jQuery noConflict fix.
@janv janv merged commit c1d9b00 into janv:master May 24, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants