apply suggestion from kazumasa asato. tested and working properly (#1981)
This commit is contained in:
parent
9c08235079
commit
b7f1499d13
|
@ -687,9 +687,10 @@ public class Chosenbox<T> extends HtmlBasedComponent {
|
|||
if (_options != null) {
|
||||
smartUpdate("items", _options);
|
||||
_options = null; //purge the data
|
||||
}
|
||||
}else {
|
||||
smartUpdate("chgSel", getChgSel());
|
||||
}
|
||||
}
|
||||
|
||||
private void updateListContent(String prefix, ListModel<T> subModel) {
|
||||
if (!(_model instanceof ListSubModel))
|
||||
|
|
Loading…
Reference in New Issue