[Pkg-mozext-commits] [automatic-save-folder] 67/133: Fix : Corrected a bug where no data were returned if a download was initiated from the URL bar or from an external software which resulted in no filters in the filter's list if the preferences window was opened from the saving dialog "+ Add or edit a filter". (Thanks to MrCOLOMBO)
David Prévot
taffit at moszumanska.debian.org
Mon Apr 27 20:33:53 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch wip
in repository automatic-save-folder.
commit 77ef0b9c6f5ad46dac5c294b887a51314ed32289
Author: Cyan <Cyan at d0063192-6b2e-11de-89a9-0b20f3e2dceb>
Date: Tue Mar 16 17:43:56 2010 +0000
Fix : Corrected a bug where no data were returned if a download was initiated
from the URL bar or from an external software which resulted in no filters
in the filter's list if the preferences window was opened from the saving
dialog "+ Add or edit a filter". (Thanks to MrCOLOMBO)
Change : Added the new revision number in the preferences window title.
git-svn-id: http://automatic-save-folder.googlecode.com/svn/trunk@73 d0063192-6b2e-11de-89a9-0b20f3e2dceb
---
content/asf.js | 11 +++++++++--
locale/en-US/about.dtd | 2 +-
locale/en-US/asf.dtd | 2 +-
locale/fr/about.dtd | 2 +-
locale/fr/asf.dtd | 2 +-
locale/it/about.dtd | 2 +-
locale/it/asf.dtd | 2 +-
locale/ru/about.dtd | 2 +-
locale/ru/asf.dtd | 2 +-
9 files changed, 17 insertions(+), 10 deletions(-)
diff --git a/content/asf.js b/content/asf.js
index 75bd980..f518cb1 100644
--- a/content/asf.js
+++ b/content/asf.js
@@ -539,8 +539,15 @@ var automatic_save_folder = {
var currentdomain = window.opener.document.getElementById("source").value;
var currentfilename = window.opener.document.getElementById("location").value ;
var uCT = window.opener.document.getElementById("unknownContentType");
- var currentURL = uCT.parentNode.defaultView.opener.location.host;
-
+ try
+ {
+ var currentURL = uCT.parentNode.defaultView.opener.location.host;
+ }
+ catch(e) // If direct link (copy/past to URLbar, or open from another application), no Tab's URL is returned.
+ {
+ var currentURL = "";
+ }
+
var domain = document.getElementById("asf-current-domain");
var filename = document.getElementById("asf-current-filename");
var URL = document.getElementById("asf-current-url");
diff --git a/locale/en-US/about.dtd b/locale/en-US/about.dtd
index 10bb8e8..f3647a9 100644
--- a/locale/en-US/about.dtd
+++ b/locale/en-US/about.dtd
@@ -1,5 +1,5 @@
<!-- ASF -->
-<!ENTITY asf.version "1.0">
+<!ENTITY asf.version "1.0.2b Rev73">
<!-- Mini about box from addon manager -->
<!ENTITY about "About Automatic Save Folder">
diff --git a/locale/en-US/asf.dtd b/locale/en-US/asf.dtd
index c5b46a9..adc659a 100644
--- a/locale/en-US/asf.dtd
+++ b/locale/en-US/asf.dtd
@@ -1,5 +1,5 @@
<!-- ASF -->
-<!ENTITY asf.version "1.0.1">
+<!ENTITY asf.version "1.0.2b Rev73">
<!-- browser and save dialog-->
<!ENTITY prefwindow.title "Automatic Save Folder Preferences">
diff --git a/locale/fr/about.dtd b/locale/fr/about.dtd
index a3e963b..05eead8 100644
--- a/locale/fr/about.dtd
+++ b/locale/fr/about.dtd
@@ -1,5 +1,5 @@
<!-- ASF -->
-<!ENTITY asf.version "1.0.1">
+<!ENTITY asf.version "1.0.2b Rev73">
<!-- Mini about box from addon manager -->
<!ENTITY about "À Propos d'Automatic save folder">
diff --git a/locale/fr/asf.dtd b/locale/fr/asf.dtd
index 183bf9a..846991e 100644
--- a/locale/fr/asf.dtd
+++ b/locale/fr/asf.dtd
@@ -1,5 +1,5 @@
<!-- ASF -->
-<!ENTITY asf.version "1.0.1">
+<!ENTITY asf.version "1.0.2b Rev73">
<!-- browser and save dialog-->
<!ENTITY prefwindow.title "Préférences pour Automatic Save Folder">
diff --git a/locale/it/about.dtd b/locale/it/about.dtd
index af31a64..e080abe 100644
--- a/locale/it/about.dtd
+++ b/locale/it/about.dtd
@@ -1,5 +1,5 @@
<!-- ASF -->
-<!ENTITY asf.version "1.0">
+<!ENTITY asf.version "1.0.2b Rev73">
<!-- Mini about box from addon manager -->
<!ENTITY about "Informazioni su Automatic Save Folder">
diff --git a/locale/it/asf.dtd b/locale/it/asf.dtd
index d1361c7..709b08e 100644
--- a/locale/it/asf.dtd
+++ b/locale/it/asf.dtd
@@ -1,5 +1,5 @@
<!-- ASF -->
-<!ENTITY asf.version "1.0.1">
+<!ENTITY asf.version "1.0.2b Rev73">
<!-- browser and save dialog-->
<!ENTITY prefwindow.title "Preferenze di Automatic Save Folder">
diff --git a/locale/ru/about.dtd b/locale/ru/about.dtd
index 44a741f..c5b4903 100644
--- a/locale/ru/about.dtd
+++ b/locale/ru/about.dtd
@@ -1,5 +1,5 @@
<!-- ASF -->
-<!ENTITY asf.version "1.0">
+<!ENTITY asf.version "1.0.2b Rev73">
<!-- Mini about box from addon manager -->
<!ENTITY about "О Automatic Save Folder">
diff --git a/locale/ru/asf.dtd b/locale/ru/asf.dtd
index 14924a6..d81af84 100644
--- a/locale/ru/asf.dtd
+++ b/locale/ru/asf.dtd
@@ -1,5 +1,5 @@
<!-- ASF -->
-<!ENTITY asf.version "1.0.1">
+<!ENTITY asf.version "1.0.2b Rev73">
<!-- browser and save dialog-->
<!ENTITY prefwindow.title "Настройки Automatic Save Folder">
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/automatic-save-folder.git
More information about the Pkg-mozext-commits
mailing list