]> source.dussan.org Git - vaadin-framework.git/commitdiff
#7098 Do not show context menu if action handler has been removed
authorArtur Signell <artur.signell@itmill.com>
Fri, 3 Jun 2011 11:14:12 +0000 (11:14 +0000)
committerArtur Signell <artur.signell@itmill.com>
Fri, 3 Jun 2011 11:14:12 +0000 (11:14 +0000)
svn changeset:19213/svn branch:6.6

src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java

index c1d674a367bb0f429603fb5af660215a97bc0ece..d36c2137d81bb402ead48ba2ea3a39c2b2b51148 100644 (file)
@@ -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")