Permalink
Browse files

Bug#564854 For Flash skip pinlady Flash Object detection if the versi…

…on property of the rawPlugin is available
  • Loading branch information...
1 parent 914087c commit d408e8f8ef6150e6bf634e076521aaf131f73b74 @ozten committed May 10, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 modern_browser.js
View
@@ -242,7 +242,7 @@ Pfs.UI = {
if (j !== null) {
newPlugin.detected_version = "Java Embedding Plugin " + j.replace(/,/g, '.').replace(/_/g, '.');
}
- } else if (/.*Flash/.test(rawPlugin.name)) {
+ } else if (/.*Flash/.test(rawPlugin.name) && ! rawPlugin.version) {
var f = PluginDetect.getVersion('Flash');
if (f !== null) {
newPlugin.detected_version = rawPlugin.name + " " + f.replace(/,/g, '.');

0 comments on commit d408e8f

Please sign in to comment.