commit | f281a0cf2f7a06b487badaafb41cc5bef85880f0 | [log] [tgz] |
---|---|---|
author | Rushabh Mehta <rmehta@gmail.com> | Thu Nov 15 16:35:39 2012 +0530 |
committer | Rushabh Mehta <rmehta@gmail.com> | Thu Nov 15 16:35:39 2012 +0530 |
tree | 9da13cc95b2267257883e936547757655cb7360a | |
parent | 2a44bf82456c862f7d2798bf8cdf6b5d86b0b477 [diff] |
hot:module fix for desktop
diff --git a/home/page/desktop/desktop.js b/home/page/desktop/desktop.js index 4eef2fd..289820b 100644 --- a/home/page/desktop/desktop.js +++ b/home/page/desktop/desktop.js
@@ -60,7 +60,8 @@ // setup for(var i in wn.boot.modules_list) { var m = wn.boot.modules_list[i]; - if(!in_list(['Setup'], m) && wn.boot.profile.allow_modules.indexOf(m)!=-1) + if(!in_list(['Setup'], m) && wn.boot.profile.allow_modules.indexOf(m)!=-1 + && erpnext.modules[m]) add_icon(m); }