update messages fix

This commit is contained in:
Rushabh Mehta 2012-05-03 10:44:44 +05:30
parent 28bb342f96
commit 39489278ec
2 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@ erpnext.desktop.show_pending_notifications = function() {
add_circle('todo', 'things_todo', 'Things To Do');
add_circle('calendar', 'todays_events', 'Todays Events');
update_messages();
erpnext.update_messages();
}

View File

@ -19,7 +19,7 @@ wn.provide('erpnext.messages');
wn.pages.messages.onload = function(wrapper) {
erpnext.messages.show_active_users();
erpnext.messages.make_list();
update_messages('reset'); //Resets notification icons
erpnext.update_messages('reset'); //Resets notification icons
// post message
$('#message-post').click(function() {