From: Artur Signell Date: Fri, 3 Jun 2011 11:14:12 +0000 (+0000) Subject: #7098 Do not show context menu if action handler has been removed X-Git-Tag: 6.7.0.beta1~192^2~22 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2f1d11dc841a1de2fce3604336adde93c7752b3b;p=vaadin-framework.git #7098 Do not show context menu if action handler has been removed svn changeset:19213/svn branch:6.6 --- diff --git a/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java b/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java index c1d674a367..d36c2137d8 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java @@ -843,6 +843,10 @@ public class VScrollTable extends FlowPanel implements Table, ScrollHandler, if (uidl.hasAttribute("alb")) { bodyActionKeys = uidl.getStringArrayAttribute("alb"); + } else { + // Need to clear the actions if the action handlers have been + // removed + bodyActionKeys = null; } setCacheRate(uidl.hasAttribute("cr") ? uidl.getDoubleAttribute("cr")