Neal Wilson 6 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
                         <button type="push" name="Add Certification" id="addcert" />
118
                         <button type="push" name="Add Certification" id="addcert" />
119
                     </column>
119
                     </column>
120
                     <column colspan="2">
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
                     </column>
124
                     </column>
123
                 </row>
125
                 </row>
124
             </layout>
126
             </layout>
186
                     {
188
                     {
187
                         thisCoffee.certificationArray = new Array();
189
                         thisCoffee.certificationArray = new Array();
188
                     }
190
                     }
189
-                    thisCoffee.certificationArray.push(certSource.text);
191
+                    thisCoffee.certificationArray.push(certSource.currentText);
190
                     certTarget.text = thisCoffee.certificationArray.toString();
192
                     certTarget.text = thisCoffee.certificationArray.toString();
191
-                    certSource.text = '';
193
+                    certSource.currentIndex = -1;
192
                 });
194
                 });
193
             };
195
             };
194
             appendForm();
196
             appendForm();

Loading…
Cancel
Save