update notify_* calls to use Notify
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user