Author: jleroux
Date: Mon Dec 18 06:16:27 2006
New Revision: 488273
URL:
http://svn.apache.org/viewvc?view=rev&rev=488273Log:
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);
}