[Pkg-mozext-commits] [automatic-save-folder] 98/133: Fix : Fixed the persistence size script to use int instead of char.

David Prévot taffit at moszumanska.debian.org
Mon Apr 27 20:33:56 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 9ef1b442b17a5e480cf836d3f0579fe3b0611678
Author: Cyan <Cyan at d0063192-6b2e-11de-89a9-0b20f3e2dceb>
Date:   Sat Nov 19 13:44:51 2011 +0000

    Fix : Fixed the persistence size script to use int instead of char.
    
    git-svn-id: http://automatic-save-folder.googlecode.com/svn/trunk@105 d0063192-6b2e-11de-89a9-0b20f3e2dceb
---
 content/asf.js     | 6 +++---
 content/common.dtd | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/content/asf.js b/content/asf.js
index ff6a01d..cd7a54c 100644
--- a/content/asf.js
+++ b/content/asf.js
@@ -63,8 +63,8 @@ var automatic_save_folder = {
 		var target_width = 617; // default sizes
 		var target_height = 423;
 		var asf_pref_window = document.getElementById("asf_pref");
-		var locale_width = document.getElementById("asf-preferences-window-width").value;
-		var locale_height = document.getElementById("asf-preferences-window-height").value;
+		var locale_width = parseInt(document.getElementById("asf-preferences-window-width").value);
+		var locale_height = parseInt(document.getElementById("asf-preferences-window-height").value);
 		var resize = document.getElementById("asf-preferences-window-resize").value;
 		if (resize == "true") // new size defined by locale.
 		{
@@ -72,7 +72,7 @@ var automatic_save_folder = {
 			target_height = target_height > locale_height ? target_height : locale_height;
 		}
 		asf_pref_window.width = asf_pref_window.width > target_width ? asf_pref_window.width : target_width;
-		asf_pref_window.height = asf_pref_window.height > target_height ? asf_pref_window.height : target_height;		
+		asf_pref_window.height = asf_pref_window.height > target_height ? asf_pref_window.height : target_height;
 		
 		//Detect OS
 		// var OSName="Unknown OS";
diff --git a/content/common.dtd b/content/common.dtd
index 2f0bfec..3c262ba 100644
--- a/content/common.dtd
+++ b/content/common.dtd
@@ -1,5 +1,5 @@
 <!-- Current version -->
-<!ENTITY asf.version "1.0.3bRev104">
+<!ENTITY asf.version "1.0.3bRev105">
 
 <!ENTITY about.translators "
 - cs : Stanislav Horáček<br />

-- 
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