Commit e62c8255f88082acc00ba13020473cdb448ac8cc
1 parent
a76439d1
Exists in
master
and in
29 other branches
Fixed cancel button on "New content" on search_contents_menu
It was opening with lightbox but the cancel button was a colorbox button (ActionItem2415)
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/helpers/application_helper.rb
... | ... | @@ -1094,7 +1094,7 @@ module ApplicationHelper |
1094 | 1094 | {s_('contents|Most commented') => {:href => url_for({:controller => 'search', :action => 'contents', :filter => 'more_comments'})}} |
1095 | 1095 | ] |
1096 | 1096 | if logged_in? |
1097 | - links.push(_('New content') => lightbox_options({:href => url_for({:controller => 'cms', :action => 'new', :profile => current_user.login, :cms => true})})) | |
1097 | + links.push(_('New content') => colorbox_options({:href => url_for({:controller => 'cms', :action => 'new', :profile => current_user.login, :cms => true})})) | |
1098 | 1098 | end |
1099 | 1099 | |
1100 | 1100 | link_to(content_tag(:span, _('Contents'), :class => 'icon-menu-articles'), {:controller => "search", :action => 'contents', :category_path => ''}, :id => 'submenu-contents') + | ... | ... |