From e62c8255f88082acc00ba13020473cdb448ac8cc Mon Sep 17 00:00:00 2001 From: Daniela Soares Feitosa Date: Tue, 14 Aug 2012 20:58:54 -0300 Subject: [PATCH] Fixed cancel button on "New content" on search_contents_menu --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 90f0d98..f2ccd6a 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1094,7 +1094,7 @@ module ApplicationHelper {s_('contents|Most commented') => {:href => url_for({:controller => 'search', :action => 'contents', :filter => 'more_comments'})}} ] if logged_in? - links.push(_('New content') => lightbox_options({:href => url_for({:controller => 'cms', :action => 'new', :profile => current_user.login, :cms => true})})) + links.push(_('New content') => colorbox_options({:href => url_for({:controller => 'cms', :action => 'new', :profile => current_user.login, :cms => true})})) end link_to(content_tag(:span, _('Contents'), :class => 'icon-menu-articles'), {:controller => "search", :action => 'contents', :category_path => ''}, :id => 'submenu-contents') + -- libgit2 0.21.2