Neal Wilson 6 年之前
父節點
當前提交
cf555fe680
簽署人: neal <neal@typica.us> GPG Key ID: D6F25C90DD5819DF
共有 1 個文件被更改,包括 5 次插入3 次删除
  1. 5
    3
      config/Windows/purchase.xml

+ 5
- 3
config/Windows/purchase.xml 查看文件

@@ -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…
取消
儲存