diff options
author | Artur Signell <artur@vaadin.com> | 2012-05-04 14:26:55 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-05-11 22:18:35 +0300 |
commit | 47f3e22cf8063362d99a725acd51b8d831c6f57a (patch) | |
tree | c492a3c48a101f7dc18b3bd32be92f5aced0b1e4 /src | |
parent | 9fd13d260c3b0510272abed2170decf709f1062d (diff) | |
download | vaadin-framework-47f3e22cf8063362d99a725acd51b8d831c6f57a.tar.gz vaadin-framework-47f3e22cf8063362d99a725acd51b8d831c6f57a.zip |
Removed Safari 4 workarounds
Diffstat (limited to 'src')
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/BrowserInfo.java | 4 | ||||
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/treetable/VTreeTable.java | 8 |
2 files changed, 1 insertions, 11 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/BrowserInfo.java b/src/com/vaadin/terminal/gwt/client/BrowserInfo.java index 064f175301..e12c002930 100644 --- a/src/com/vaadin/terminal/gwt/client/BrowserInfo.java +++ b/src/com/vaadin/terminal/gwt/client/BrowserInfo.java @@ -203,10 +203,6 @@ public class BrowserInfo { return browserDetails.isSafari(); } - public boolean isSafari4() { - return isSafari() && browserDetails.getBrowserMajorVersion() == 4; - } - public boolean isIE8() { return isIE() && browserDetails.getBrowserMajorVersion() == 8; } diff --git a/src/com/vaadin/terminal/gwt/client/ui/treetable/VTreeTable.java b/src/com/vaadin/terminal/gwt/client/ui/treetable/VTreeTable.java index 2e15e7c445..f7cd9d133e 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/treetable/VTreeTable.java +++ b/src/com/vaadin/terminal/gwt/client/ui/treetable/VTreeTable.java @@ -24,7 +24,6 @@ import com.google.gwt.user.client.DOM; import com.google.gwt.user.client.Element; import com.google.gwt.user.client.Event; import com.google.gwt.user.client.ui.Widget; -import com.vaadin.terminal.gwt.client.BrowserInfo; import com.vaadin.terminal.gwt.client.ComputedStyle; import com.vaadin.terminal.gwt.client.UIDL; import com.vaadin.terminal.gwt.client.Util; @@ -81,7 +80,7 @@ public class VTreeTable extends VScrollTable { return; } - if (animationsEnabled && browserSupportsAnimation()) { + if (animationsEnabled) { if (partialRowAdditions.hasAttribute("hide")) { scrollBody.unlinkRowsAnimatedAndUpdateCacheWhenFinished( partialRowAdditions.getIntAttribute("firstprowix"), @@ -97,11 +96,6 @@ public class VTreeTable extends VScrollTable { } } - private boolean browserSupportsAnimation() { - BrowserInfo bi = BrowserInfo.get(); - return !(bi.isSafari4()); - } - class VTreeTableScrollBody extends VScrollTable.VScrollTableBody { private int identWidth = -1; |