SEBSERV-84 fixed also for Chrome and IE
This commit is contained in:
parent
fad7876fff
commit
39dde1d9a7
2 changed files with 5 additions and 3 deletions
|
@ -206,8 +206,9 @@ public final class MultiSelectionCombo extends Composite implements Selection {
|
|||
this.selectionControls.add(new Tuple<>(label, imageButton));
|
||||
|
||||
this.combo.remove(itemName);
|
||||
this.updateAnchor.layout();
|
||||
PageService.updateScrolledComposite(this);
|
||||
this.updateAnchor.layout(true, true);
|
||||
|
||||
}
|
||||
|
||||
private void removeComboSelection(final Event event) {
|
||||
|
@ -233,8 +234,8 @@ public final class MultiSelectionCombo extends Composite implements Selection {
|
|||
final Tuple<String> value = this.selectedValues.remove(indexOf);
|
||||
this.combo.add(value._2, this.combo.getItemCount());
|
||||
|
||||
this.updateAnchor.layout();
|
||||
PageService.updateScrolledComposite(this);
|
||||
this.updateAnchor.layout(true, true);
|
||||
if (this.listener != null) {
|
||||
this.listener.handleEvent(event);
|
||||
}
|
||||
|
|
|
@ -540,7 +540,8 @@ public class WidgetFactory {
|
|||
parent,
|
||||
this,
|
||||
actionLocTextPrefix,
|
||||
parent);
|
||||
// NOTE parent would work for firefox but on IE and Chrome only parent.getParent().getParent() works
|
||||
parent.getParent().getParent());
|
||||
break;
|
||||
case MULTI_CHECKBOX:
|
||||
selection = new MultiSelectionCheckbox(parent);
|
||||
|
|
Loading…
Reference in a new issue