[Pkg-mozext-commits] [SCM] firegesture s extension branch, master, updated. debian/1.6.7-1-9-g414f939

Fabrizio Regalli fabreg at fabreg.it
Mon Feb 27 09:46:19 UTC 2012


The following commit has been merged in the master branch:
commit 6a4f87300476dd7912b993a8d8763a3e3ca72d2e
Author: Fabrizio Regalli <fabreg at fabreg.it>
Date:   Mon Feb 27 10:15:45 2012 +0100

    Imported Upstream version 1.6.10

diff --git a/chrome/firegestures.jar!/content/firegestures/browser.js b/chrome/firegestures.jar!/content/firegestures/browser.js
index 36d2f02..76ecb55 100644
--- a/chrome/firegestures.jar!/content/firegestures/browser.js
+++ b/chrome/firegestures.jar!/content/firegestures/browser.js
@@ -220,13 +220,17 @@ var FireGestures = {
 				document.getElementById(aCommand).doCommand();
 				break;
 			case "FireGestures:ScrollTop": 
-				if (gBrowser.mPrefs.getBoolPref("accessibility.browsewithcaret"))
+				if (this.sourceNode instanceof HTMLInputElement || 
+				    this.sourceNode instanceof HTMLTextAreaElement || 
+				    gBrowser.mPrefs.getBoolPref("accessibility.browsewithcaret"))
 					goDoCommand("cmd_scrollTop");
 				else
 					this.sendKeyEvent({ keyCode: "DOM_VK_HOME" });
 				break;
 			case "FireGestures:ScrollBottom": 
-				if (gBrowser.mPrefs.getBoolPref("accessibility.browsewithcaret"))
+				if (this.sourceNode instanceof HTMLInputElement || 
+				    this.sourceNode instanceof HTMLTextAreaElement || 
+				    gBrowser.mPrefs.getBoolPref("accessibility.browsewithcaret"))
 					goDoCommand("cmd_scrollBottom");
 				else
 					this.sendKeyEvent({ keyCode: "DOM_VK_END" });
diff --git a/install.rdf b/install.rdf
index 4dab41f..5bb6e14 100644
--- a/install.rdf
+++ b/install.rdf
@@ -7,7 +7,7 @@
 		<em:id>firegestures at xuldev.org</em:id>
 		<em:type>2</em:type>
 		<em:name>FireGestures</em:name>
-		<em:version>1.6.9</em:version>
+		<em:version>1.6.10</em:version>
 		<em:description>Executes various commands with mouse gestures.</em:description>
 		<em:creator>Gomita</em:creator>
 		<em:localized>

-- 
firegesture s extension



More information about the Pkg-mozext-commits mailing list