Browse Source

Fix decaf validation during purchase

Neal Wilson 6 years ago
parent
commit
475ee6705e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      config/Windows/purchase.xml

+ 1
- 1
config/Windows/purchase.xml View File

@@ -234,7 +234,7 @@
234 234
                         return false;
235 235
                     }
236 236
                     if(findChildObject(form.elementAt(i), 'isDecaf').checked) {
237
-                        if(findChildObject(form.elementAt(i), 'decafEntry').currentText) {
237
+                        if(findChildObject(form.elementAt(i), 'decafMethod').text == '') {
238 238
                             displayError(TTR("purchase", "Missing Input"),
239 239
                                          TTR("purchase", "Decaffeination method is a required field for decaffeinated coffees."));
240 240
                             return false;

Loading…
Cancel
Save