svn commit: r488273 - /incubator/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PosScreen.java

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

svn commit: r488273 - /incubator/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PosScreen.java

jleroux@apache.org
Author: jleroux
Date: Mon Dec 18 06:16:27 2006
New Revision: 488273

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

Modified:
    incubator/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PosScreen.java

Modified: incubator/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PosScreen.java
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PosScreen.java?view=diff&rev=488273&r1=488272&r2=488273
==============================================================================
--- incubator/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PosScreen.java (original)
+++ incubator/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PosScreen.java Mon Dec 18 06:16:27 2006
@@ -243,7 +243,9 @@
         this.journal.setLock(lock);
         this.operator.setLock(lock);
         this.isLocked = lock;
-        this.input.setFunction("LOGIN");
+        if (lock) {
+            this.input.setFunction("LOGIN");
+        }
         DeviceLoader.enable(!lock);
     }