mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-14 06:55:49 +02:00
fixed initVal
This commit is contained in:
@@ -24,6 +24,7 @@ Ext.ux.Multiselect = Ext.extend(Ext.form.Field, {
|
||||
dragGroup:null,
|
||||
dropGroup:null,
|
||||
tbar:null,
|
||||
initVal:null,
|
||||
appendOnly:false,
|
||||
sortField:null,
|
||||
sortDir:'ASC',
|
||||
@@ -94,6 +95,11 @@ Ext.ux.Multiselect = Ext.extend(Ext.form.Field, {
|
||||
} else {
|
||||
this.hiddenField = Ext.get(document.body).createChild(hiddenTag);
|
||||
}
|
||||
if (this.initVal != null)
|
||||
{
|
||||
this.setValue(this.initVal);
|
||||
this.initVal = null;
|
||||
}
|
||||
fs.doLayout();
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user