From 78a588981ad750697b421064dc504b3a6e0ebb1b Mon Sep 17 00:00:00 2001 From: Evandro Junior Date: Wed, 21 May 2014 18:07:21 +0000 Subject: [PATCH] Removed js alerts --- lib/email_article_plugin.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/email_article_plugin.rb b/lib/email_article_plugin.rb index af3f714..ed59a4e 100644 --- a/lib/email_article_plugin.rb +++ b/lib/email_article_plugin.rb @@ -20,8 +20,8 @@ class EmailArticlePlugin < Noosfero::Plugin { :url => { :controller => 'email_article_plugin_myprofile', :action => "send_email", :id => @page}, :method => :get, - :success => "alert('" + _("Messages sent to outbox, soon will be delivered") + "')", - :failure => "alert('" + _("Error sending emails") + "')", + :success => "display_notice('" + _("Messages are being sent") + "')", + :failure => "display_notice('" + _("Error sending emails") + "')", :confirm => _("Are you sure you want to email this article to all community members?"), }, :class => htmlclass, -- libgit2 0.21.2