summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-08-27 13:43:51 +0300
committerArtur Signell <artur@vaadin.com>2012-08-27 13:43:51 +0300
commit327d3174be82f5523ad714bb6d3febe3aebc5123 (patch)
treebcf6e3e9cffb66a6cf933e1458b3dd57829defab /client
parent5964acd1e7ea2a00681fc49525f4f10e5dfa06fe (diff)
downloadvaadin-framework-327d3174be82f5523ad714bb6d3febe3aebc5123.tar.gz
vaadin-framework-327d3174be82f5523ad714bb6d3febe3aebc5123.zip
Removed IE6/IE7 specific code accidentally included in merge
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/terminal/gwt/client/ui/table/VScrollTable.java23
1 files changed, 5 insertions, 18 deletions
diff --git a/client/src/com/vaadin/terminal/gwt/client/ui/table/VScrollTable.java b/client/src/com/vaadin/terminal/gwt/client/ui/table/VScrollTable.java
index dcec10f86f..eda3f7090f 100644
--- a/client/src/com/vaadin/terminal/gwt/client/ui/table/VScrollTable.java
+++ b/client/src/com/vaadin/terminal/gwt/client/ui/table/VScrollTable.java
@@ -5297,14 +5297,9 @@ public class VScrollTable extends FlowPanel implements HasWidgets,
if (dragmode == DRAGMODE_MULTIROW && isMultiSelectModeAny()
&& rowKeyIsSelected(rowKey)) {
- // Create a drag image of ALL rows (ie6,7 has a different
- // DOM structure)
- if(BrowserInfo.get().isIE6() || BrowserInfo.get().isIE7()){
- ev.createDragImage(scrollBody.getElement(), true);
- } else {
- ev.createDragImage(
- (Element) scrollBody.tBodyElement.cast(), true);
- }
+ // Create a drag image of ALL rows
+ ev.createDragImage(
+ (Element) scrollBody.tBodyElement.cast(), true);
// Hide rows which are not selected
Element dragImage = ev.getDragImage();
@@ -5314,18 +5309,10 @@ public class VScrollTable extends FlowPanel implements HasWidgets,
VScrollTableRow next = (VScrollTableRow) iterator
.next();
- Element child;
- if(BrowserInfo.get().isIE6() || BrowserInfo.get().isIE7()){
- child = (Element) dragImage.getChild(1)
- .getChild(0)
- .getChild(i++);
- } else {
- child = (Element) dragImage.getChild(i++);
- }
+ Element child = (Element) dragImage.getChild(i++);
if (!rowKeyIsSelected(next.rowKey)) {
- child.getStyle().setVisibility(
- Visibility.HIDDEN);
+ child.getStyle().setVisibility(Visibility.HIDDEN);
}
}
} else {