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