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

Limit propagation of new part name/link for #2917 #2918

Merged
merged 2 commits into from Mar 11, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/app/assets/javascripts/refinery/admin.js.erb
Expand Up @@ -609,7 +609,7 @@ var page_options = {
// Add a new tab for the new content section.
$('#page_part_editors').append(data);

page_options.tabs.find("ul").append("<li><a href='#page_part_new_"+$('#new_page_part_index').val()+"'>"+part_title+"</a></li>");
page_options.tabs.find("ul#page_parts").append("<li><a href='#page_part_new_"+$('#new_page_part_index').val()+"'>"+part_title+"</a></li>");
page_options.tabs.tabs("refresh");

// this is here because of https://github.com/refinery/refinerycms/issues/2060
Expand Down