mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 03:29:16 +00:00
Merge branch 'master' of github.com:webnotes/erpnext
This commit is contained in:
2402
public/js/all-app.js
2402
public/js/all-app.js
File diff suppressed because one or more lines are too long
@@ -93,6 +93,8 @@ erpnext.toolbar.add_modules = function() {
|
||||
|
||||
erpnext.toolbar.set_new_comments = function(new_comments) {
|
||||
var navbar_nc = $('.navbar-new-comments');
|
||||
if(wn.container.page && wn.container.page.page_name=="messages")
|
||||
return;
|
||||
if(new_comments && new_comments.length>0) {
|
||||
navbar_nc.text(new_comments.length);
|
||||
navbar_nc.addClass('navbar-new-comments-true')
|
||||
@@ -102,7 +104,7 @@ erpnext.toolbar.set_new_comments = function(new_comments) {
|
||||
if(!$('#' + id)[0]) {
|
||||
show_alert(msg).attr("id", id);
|
||||
}
|
||||
})
|
||||
});
|
||||
} else {
|
||||
navbar_nc.removeClass('navbar-new-comments-true');
|
||||
navbar_nc.text(0);
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
}
|
||||
|
||||
.toggle.expand {
|
||||
background: url(images/expand.gif) no-repeat center center;
|
||||
background: url(app/images/expand.gif) no-repeat center center;
|
||||
}
|
||||
|
||||
.toggle.collapse {
|
||||
background: url(images/collapse.gif) no-repeat center center;
|
||||
background: url(app/images/collapse.gif) no-repeat center center;
|
||||
}
|
||||
Reference in New Issue
Block a user