svn commit: r488277 - /incubator/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/device/impl/Keyboard.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r488277 - /incubator/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/device/impl/Keyboard.java

jleroux@apache.org
Author: jleroux
Date: Mon Dec 18 06:24:10 2006
New Revision: 488277

URL: http://svn.apache.org/viewvc?view=rev&rev=488277
Log:
Corrects a strange behavior explained in https://issues.apache.org/jira/browse/OFBIZ-259#action_12459196 point 1.

Modified:
    incubator/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/device/impl/Keyboard.java

Modified: incubator/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/device/impl/Keyboard.java
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/device/impl/Keyboard.java?view=diff&rev=488277&r1=488276&r2=488277
==============================================================================
--- incubator/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/device/impl/Keyboard.java (original)
+++ incubator/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/device/impl/Keyboard.java Mon Dec 18 06:24:10 2006
@@ -59,7 +59,7 @@
                     }
 
                     // check for button mapping
-                    if (PosScreen.currentScreen.isLocked()) {
+                    if (PosScreen.currentScreen.isLocked() && 500 != keyCode) {
                         Debug.log("PosScreen is locked; not running POSKeyboard Event!", module);
                         return;
                     }