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

Add data-index attribute to newly created page parts. #2063

Merged
merged 1 commit into from
Dec 5, 2012
Merged

Conversation

ugisozols
Copy link
Member

#2060

It is needed because page part ordering sets page part position using data-index value.

It is needed because page part ordering sets page part position using
data-index value.
@@ -602,6 +602,9 @@ var page_options = {
// Add a new tab for the new content section.
$('#page_part_editors').append(data);
page_options.tabs.tabs('add', '#page_part_new_' + $('#new_page_part_index').val(), part_title);
// this is here because of https://github.com/refinery/refinerycms/issues/2060
Copy link
Member

Choose a reason for hiding this comment

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

Will this comment show up in the compiled version?

Copy link
Member Author

Choose a reason for hiding this comment

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

tbh I have no idea.

Should I remove it?

Copy link
Member

Choose a reason for hiding this comment

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

Run rake assets:precompile ;-)

parndt added a commit that referenced this pull request Dec 5, 2012
Add data-index attribute to newly created page parts.
@parndt parndt merged commit 43af857 into master Dec 5, 2012
ugisozols added a commit that referenced this pull request Dec 5, 2012
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