Commit 78a588981ad750697b421064dc504b3a6e0ebb1b
1 parent
f9ca05f1
Exists in
master
Removed js alerts
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
lib/email_article_plugin.rb
... | ... | @@ -20,8 +20,8 @@ class EmailArticlePlugin < Noosfero::Plugin |
20 | 20 | { |
21 | 21 | :url => { :controller => 'email_article_plugin_myprofile', :action => "send_email", :id => @page}, |
22 | 22 | :method => :get, |
23 | - :success => "alert('" + _("Messages sent to outbox, soon will be delivered") + "')", | |
24 | - :failure => "alert('" + _("Error sending emails") + "')", | |
23 | + :success => "display_notice('" + _("Messages are being sent") + "')", | |
24 | + :failure => "display_notice('" + _("Error sending emails") + "')", | |
25 | 25 | :confirm => _("Are you sure you want to email this article to all community members?"), |
26 | 26 | }, |
27 | 27 | :class => htmlclass, | ... | ... |