mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 20:29:09 +00:00
[framework] [cleanup] desktop, todo, messages, modules setup moved to framework
This commit is contained in:
@@ -74,12 +74,11 @@ erpnext.toolbar.add_modules = function() {
|
||||
}
|
||||
|
||||
// add to dropdown
|
||||
for(var i in modules_list) {
|
||||
var m = modules_list[i]
|
||||
if(m!='Setup' && wn.boot.profile.allow_modules.indexOf(m)!=-1 && wn.modules[m]) {
|
||||
$.each(modules_list,function(i, m) {
|
||||
if(m!='Setup') {
|
||||
$('.navbar .modules').append(_get_list_item(m));
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
// setup for system manager
|
||||
if(user_roles.indexOf("System Manager")!=-1) {
|
||||
|
||||
Reference in New Issue
Block a user