Neal Wilson 5 years ago
parent
commit
cf555fe680
Signed by: neal <neal@typica.us> GPG Key ID: D6F25C90DD5819DF
1 changed files with 5 additions and 3 deletions
  1. 5
    3
      config/Windows/purchase.xml

+ 5
- 3
config/Windows/purchase.xml View File

@@ -118,7 +118,9 @@
118 118
                         <button type="push" name="Add Certification" id="addcert" />
119 119
                     </column>
120 120
                     <column colspan="2">
121
-                        <line id="certification" />
121
+						<sqldrop data="0" display="0" showdata="false" editable="true" id="certification">
122
+							<query>SELECT DISTINCT certification FROM certifications ORDER BY certification ASC</query>
123
+						</sqldrop>
122 124
                     </column>
123 125
                 </row>
124 126
             </layout>
@@ -186,9 +188,9 @@
186 188
                     {
187 189
                         thisCoffee.certificationArray = new Array();
188 190
                     }
189
-                    thisCoffee.certificationArray.push(certSource.text);
191
+                    thisCoffee.certificationArray.push(certSource.currentText);
190 192
                     certTarget.text = thisCoffee.certificationArray.toString();
191
-                    certSource.text = '';
193
+                    certSource.currentIndex = -1;
192 194
                 });
193 195
             };
194 196
             appendForm();

Loading…
Cancel
Save