| commit | d41fe41d28653ef87d19e14907a155ea658634e1 | [log] [tgz] |
|---|---|---|
| author | jgw@google.com <jgw@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Mon Aug 10 17:47:05 2009 +0000 |
| committer | jgw@google.com <jgw@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Mon Aug 10 17:47:05 2009 +0000 |
| tree | e56636825977fefccd810da9aaa7f349f07ac55f | |
| parent | 1d4cf5b476fe65e3eb8f52c4552e770a48f2bf4d [diff] |
Fixes plugin backwards-compatibility fallback error in Safari. Review by: jat (desk check) git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@5928 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/src/com/google/gwt/core/ext/linker/impl/hosted.html b/dev/core/src/com/google/gwt/core/ext/linker/impl/hosted.html index 975ca75..17ae17c 100644 --- a/dev/core/src/com/google/gwt/core/ext/linker/impl/hosted.html +++ b/dev/core/src/com/google/gwt/core/ext/linker/impl/hosted.html
@@ -210,8 +210,9 @@ var plugin = null; for (var i = 0; i < pluginFinders.length; ++i) { try { - plugin = pluginFinders[i](); - if (plugin != null && plugin.init(window)) { + var maybePlugin = pluginFinders[i](); + if (maybePlugin != null && maybePlugin.init(window)) { + plugin = maybePlugin; break; } } catch (e) {