Commit 615d8c1fc64b6008edba1d17873be88a681532e7
1 parent
6a66ab89
Exists in
staging
and in
4 other branches
Removed js alerts
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
plugins/email_article/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, | ... | ... |