Neal Wilson 6 anni fa
parent
commit
cf555fe680
Firmato da: neal <neal@typica.us> ID Chiave GPG: D6F25C90DD5819DF
1 ha cambiato i file con 5 aggiunte e 3 eliminazioni
  1. 5
    3
      config/Windows/purchase.xml

+ 5
- 3
config/Windows/purchase.xml Vedi 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…
Annulla
Salva