mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-28 11:08:32 +00:00
Merge branch 'master' of github.com:webnotes/erpnext
This commit is contained in:
@@ -99,7 +99,9 @@ erpnext.toolbar.set_new_comments = function(new_comments) {
|
||||
$.each(new_comments, function(i, v) {
|
||||
var msg = 'New Message: ' + (v[1].length<=100 ? v[1] : (v[1].substr(0, 100) + "..."));
|
||||
var id = v[0].replace('/', '-');
|
||||
if(!$('#' + id)[0]) { show_alert(msg, id); }
|
||||
if(!$('#' + id)[0]) {
|
||||
show_alert(msg).attr("id", id);
|
||||
}
|
||||
})
|
||||
} else {
|
||||
navbar_nc.removeClass('navbar-new-comments-true');
|
||||
|
||||
Reference in New Issue
Block a user