diff options
author | Martin Stransky <stransky@anakreon.cz> | 2014-12-08 14:14:03 +0100 |
---|---|---|
committer | Martin Stransky <stransky@anakreon.cz> | 2014-12-08 14:14:03 +0100 |
commit | 45f8b1bb569246b03d41a55b1b8e1ee49ddf0003 (patch) | |
tree | 175638b24d9da3c2dc2ad4baa8fb7294b53416bd /java-plugin-url.patch | |
parent | Gtk3 flash plugin fix (rhbz#1171457), Gtk3 theme fixes (diff) | |
download | librewolf-fedora-ff-45f8b1bb569246b03d41a55b1b8e1ee49ddf0003.tar.gz librewolf-fedora-ff-45f8b1bb569246b03d41a55b1b8e1ee49ddf0003.tar.bz2 librewolf-fedora-ff-45f8b1bb569246b03d41a55b1b8e1ee49ddf0003.zip |
fixed url for java plugin installation guide, resolves rhbz#979985
Diffstat (limited to 'java-plugin-url.patch')
-rw-r--r-- | java-plugin-url.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/java-plugin-url.patch b/java-plugin-url.patch new file mode 100644 index 0000000..4db0d5f --- /dev/null +++ b/java-plugin-url.patch @@ -0,0 +1,25 @@ +--- mozilla-release/toolkit/mozapps/plugins/content/pluginInstallerWizard.js ++++ mozilla-release/toolkit/mozapps/plugins/content/pluginInstallerWizard.js +@@ -315,6 +315,11 @@ + xpiPlugins); + else + this.advancePage(null); ++} ++ ++ ++function endsWith(str, suffix) { ++ return str.indexOf(suffix, str.length - suffix.length) !== -1; + } + + /* +@@ -405,6 +410,9 @@ + + // manual install + if (aManualUrl) { ++ if (endsWith(aManualUrl, "use-java-plugin-to-view-interactive-content")) { ++ aManualUrl="http://icedtea.classpath.org/wiki/IcedTea-Web_On_Fedora_And_Rhel" ++ } + var myButton = document.createElement("button"); + + var manualInstallLabel = this.getString("pluginInstallationSummary.manualInstall.label"); + |