Author: jleroux
Date: Mon Nov 13 21:18:59 2006
New Revision: 474667
URL:
http://svn.apache.org/viewvc?view=rev&rev=474667Log:
Completes revision 474660 which was a little buggy.
Modified:
incubator/ofbiz/trunk/applications/pos/src/org/ofbiz/pos/event/MenuEvents.java
Modified: incubator/ofbiz/trunk/applications/pos/src/org/ofbiz/pos/event/MenuEvents.java
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/pos/src/org/ofbiz/pos/event/MenuEvents.java?view=diff&rev=474667&r1=474666&r2=474667==============================================================================
--- incubator/ofbiz/trunk/applications/pos/src/org/ofbiz/pos/event/MenuEvents.java (original)
+++ incubator/ofbiz/trunk/applications/pos/src/org/ofbiz/pos/event/MenuEvents.java Mon Nov 13 21:18:59 2006
@@ -160,7 +160,7 @@
productsMap.put(product.getString("productId"), product.get("internalName"));
}
}
- if (productsMap.size() > 0) {
+ if (productsMap.size() > 0 && ButtonEventConfig.getButtonName(event).equals("menuSku")) {
SelectProduct SelectProduct = new SelectProduct(productsMap, trans, pos);
productId = SelectProduct.openDlg();
}