Commit 4ace145966ce801d0052436f5ae7c6d5fd33153d
1 parent
d108c831
Exists in
master
and in
2 other branches
Fix modal button
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
content_menu.html.erb
@@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
7 | <li> | 7 | <li> |
8 | <% article = @article || @page %> | 8 | <% article = @article || @page %> |
9 | <% parent_id = ((article && article.allow_children?) ? article : nil) %> | 9 | <% parent_id = ((article && article.allow_children?) ? article : nil) %> |
10 | - <%= colorbox_button('new', _('New content'), :controller => 'cms', :action => 'new', :parent_id => parent_id, :cms => true) %> | 10 | + <%= modal_button('new', _('New content'), :controller => 'cms', :action => 'new', :parent_id => parent_id, :cms => true) %> |
11 | </li> | 11 | </li> |
12 | </ul> | 12 | </ul> |
13 | 13 |