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