reload messages

This commit is contained in:
Anand Doshi 2012-02-27 18:42:00 +05:30
parent f9f73bfa55
commit 2b8c4d78f3
2 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,7 @@ def execute():
reload_doc('home', 'page', 'desktop')
reload_doc('utilities', 'page', 'todo')
reload_doc('utilities', 'page', 'calendar')
reload_doc('utilities', 'page', 'messages')
webnotes.conn.set_value('Control Panel', 'Control Panel', 'home_page',
'desktop')

View File

@ -111,6 +111,8 @@ var update_messages = function() {
circle.toggle(false);
}
}
} else {
clearInterval(wn.updates.id);
}
}
);