details: https://code.openbravo.com/erp/devel/pi/rev/2e8a8dfa711c
changeset: 13994:2e8a8dfa711c
user: Antonio Moreno <antonio.moreno <at> openbravo.com>
date: Fri Oct 14 17:29:58 2011 +0200
summary: Fixed issue 18647. An active menu item will be listed in the menu
even if its related treenode is inactive.
diffstat:
modules/org.openbravo.client.application/src/org/openbravo/client/application/MenuManager.java
| 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r a917ef4c6fd1 -r 2e8a8dfa711c
modules/org.openbravo.client.application/src/org/openbravo/client/application/MenuManager.java
---
a/modules/org.openbravo.client.application/src/org/openbravo/client/application/MenuManager.java
Fri Oct 14 12:40:16 2011 +0200
+++
b/modules/org.openbravo.client.application/src/org/openbravo/client/application/MenuManager.java
Fri Oct 14 17:29:58 2011 +0200
@@ -354,8 +354,8 @@
if (!addOption) {
Menu menuEntry = OBDal.getInstance().get(Menu.class,
treeNode.getNode());
if (menuEntry != null) {
- addOption = menuEntry.isSummaryLevel();
- inactiveSummary = true;
+ addOption = menuEntry.isActive();
+ inactiveSummary = menuEntry.isSummaryLevel();
}
}
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits