summaryrefslogtreecommitdiff
path: root/plugins/mail
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mail')
-rw-r--r--plugins/mail/init.php2
-rw-r--r--plugins/mail/mail.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mail/init.php b/plugins/mail/init.php
index 5294931c7..d8f92853e 100644
--- a/plugins/mail/init.php
+++ b/plugins/mail/init.php
@@ -45,7 +45,7 @@ class Mail extends Plugin {
new Ajax.Request('backend.php', {
parameters: dojo.objectToQuery(this.getValues()),
onComplete: function(transport) {
- notify_info(transport.responseText);
+ Notify.info(transport.responseText);
}
});
//this.reset();
diff --git a/plugins/mail/mail.js b/plugins/mail/mail.js
index af0cf3552..b72289c2a 100644
--- a/plugins/mail/mail.js
+++ b/plugins/mail/mail.js
@@ -29,7 +29,7 @@ function emailArticle(id) {
if (error) {
alert(__('Error sending email:') + ' ' + error);
} else {
- notify_info('Your message has been sent.');
+ Notify.info('Your message has been sent.');
dialog.hide();
}