Permalink
Browse files

BPM-1286 commit for Winton

  • Loading branch information...
1 parent 604eff1 commit 8f2cb44c38891e04936982a56430a7134e27dcd6 @JohnnySong JohnnySong committed Apr 26, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 designer/src/main/webapp/js/Plugins/propertywindow.js
@@ -1032,9 +1032,9 @@ Ext.extend(Ext.form.ComplexListField, Ext.form.TriggerField, {
} else if (type == WAPAMA.CONFIG.TYPE_CHOICE) {
var items = this.items[i].items();
var select = WAPAMA.Editor.graft("http://www.w3.org/1999/xhtml", parent, ['select', {style:'display:none'}]);
- var optionTmpl = new Ext.Template('<option value="{value}">{value}</option>');
+ var optionTmpl = new Ext.Template('<option value="{value}">{key}</option>');
items.each(function(value){
- optionTmpl.append(select, {value:value.value()});
+ optionTmpl.append(select, {key:value.title(),value:value.value()});
});
editor = new Ext.form.ComboBox(

0 comments on commit 8f2cb44

Please sign in to comment.