aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2007-07-12 11:47:15 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2007-07-12 11:47:15 +0000
commit039a0f1491f9fcf73089c51ac44160954a954cb3 (patch)
tree36515467a858775d828b925faa3e0c60475b6cf0 /src
parent843c09cf7f009041d0467ceeb05541936f05576f (diff)
downloadvaadin-framework-039a0f1491f9fcf73089c51ac44160954a954cb3.tar.gz
vaadin-framework-039a0f1491f9fcf73089c51ac44160954a954cb3.zip
Fixed row context menu in IE
svn changeset:1849/svn branch:trunk
Diffstat (limited to 'src')
-rw-r--r--src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java
index c6a1fc916c..5688fa1f0b 100644
--- a/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java
+++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java
@@ -1342,15 +1342,15 @@ public class IScrollTable extends Composite implements Paintable, ITable, Scroll
this.rowKey = rowKey;
setElement(DOM.createElement("tr"));
DOM.sinkEvents(getElement(), Event.ONCLICK);
- disableContextMenu(getElement());
+ attachContextMenuEvent(getElement());
setStyleName("iscrolltable-row");
}
- private native void disableContextMenu(Element el) /*-{
+ private native void attachContextMenuEvent(Element el) /*-{
var row = this;
el.oncontextmenu = function(e) {
if(!e)
- e = window.event;
+ e = $wnd.event;
row.@com.itmill.toolkit.terminal.gwt.client.ui.IScrollTable.IScrollTableBody.IScrollTableRow::showContextMenu(Lcom/google/gwt/user/client/Event;)(e);
return false;
};