From ad9d00843fd6bc6165b225a0c1306969b59bad74 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Wed, 3 Oct 2012 00:27:19 -0300 Subject: [PATCH] Add Opera 12 support to the list. --- .../main/java/com/wisemapping/filter/SupportedUserAgent.java | 2 +- wise-webapp/src/test/sql/mysql/3.0beta1-to-v3.0GA.sql | 0 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 wise-webapp/src/test/sql/mysql/3.0beta1-to-v3.0GA.sql diff --git a/wise-webapp/src/main/java/com/wisemapping/filter/SupportedUserAgent.java b/wise-webapp/src/main/java/com/wisemapping/filter/SupportedUserAgent.java index 301a3780..e237b032 100644 --- a/wise-webapp/src/main/java/com/wisemapping/filter/SupportedUserAgent.java +++ b/wise-webapp/src/main/java/com/wisemapping/filter/SupportedUserAgent.java @@ -48,7 +48,7 @@ public class SupportedUserAgent implements Serializable { boolean result = browser == Browser.FIREFOX && majorVersion >= 10; result = result || browser == Browser.IE8 || browser == Browser.IE9; result = result || browser == Browser.IE && majorVersion >= 8; - result = result || browser == Browser.OPERA && majorVersion >= 11; + result = result || browser == Browser.OPERA10 && majorVersion >= 11; result = result || browser == Browser.CHROME && majorVersion >= 18; result = result || browser == Browser.SAFARI5; result = result || browser == Browser.SAFARI && majorVersion >= 5; diff --git a/wise-webapp/src/test/sql/mysql/3.0beta1-to-v3.0GA.sql b/wise-webapp/src/test/sql/mysql/3.0beta1-to-v3.0GA.sql new file mode 100644 index 00000000..e69de29b