Neal Wilson 6 år sedan
förälder
incheckning
cf555fe680
Signerad av: neal <neal@typica.us> GPG-nyckel ID: D6F25C90DD5819DF
1 ändrade filer med 5 tillägg och 3 borttagningar
  1. 5
    3
      config/Windows/purchase.xml

+ 5
- 3
config/Windows/purchase.xml Visa fil

@@ -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();

Laddar…
Avbryt
Spara