diff --git a/CHANGELOG b/CHANGELOG index 6ef04ee..c7f452b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -68,3 +68,5 @@ Version 20080224.91 (Thursday, July 3, 2008) - Optimized the toolbar button images. Version ${Version} (${Date}) + - Updated home page to point to 1ec5.org. + - Made ignored textbox IDs case-insensitive. diff --git a/content/avim.js b/content/avim.js index e529c0d..eb308e9 100755 --- a/content/avim.js +++ b/content/avim.js @@ -11,8 +11,8 @@ var AVIMGlobalConfig = { //IDs of the fields you DON'T want to let users type Vietnamese in exclude: ["colorzilla-textbox-hex", // Hex box, Color Picker, ColorZilla "email", "e-mail", // don't want it for e-mail fields in general - "TextboxEval", // Code bar, Firefox Error Console - "tx_tagName", // Tag Name, Insert Node, DOM Inspector + "textboxeval", // Code bar, Firefox Error Console + "tx_tagname", // Tag Name, Insert Node, DOM Inspector ] }; @@ -838,8 +838,8 @@ function AVIM() { this.prefs.setBoolPref("oldAccents", !!AVIMGlobalConfig.oldAccent); this.prefs.setBoolPref("statusBarPanel", AVIMGlobalConfig.statusBarPanel); - this.prefs.setCharPref("ignoredFieldIds", - AVIMGlobalConfig.exclude.join(" ")); + var ids = AVIMGlobalConfig.exclude.join(" ").toLowerCase(); + this.prefs.setCharPref("ignoredFieldIds", ids); // Auto method configuration this.prefs.setBoolPref("auto.telex", AVIMAutoConfig.telex); this.prefs.setBoolPref("auto.vni", AVIMAutoConfig.vni); @@ -885,8 +885,8 @@ function AVIM() { this.prefs.getBoolPref("statusBarPanel"); } if (!changedPref || changedPref == "ignoredFieldIds") { - AVIMGlobalConfig.exclude = - this.prefs.getCharPref("ignoredFieldIds").split(/\s+/); + var ids = this.prefs.getCharPref("ignoredFieldIds").toLowerCase(); + AVIMGlobalConfig.exclude = ids.split(/\s+/); } // Auto method configuration if (!changedPref || changedPref == "auto.telex") { diff --git a/defaults/preferences/avim.js b/defaults/preferences/avim.js index 323aa95..3325162 100644 --- a/defaults/preferences/avim.js +++ b/defaults/preferences/avim.js @@ -20,9 +20,10 @@ pref("extensions.avim.statusBarPanel", true); /* * Ignore any fields that contain e-mail addresses, as well as the code - * evaluation bar in the Error Console. Field IDs are separated by spaces. + * evaluation bar in the Error Console. Field IDs are case-insensitive and + * separated by spaces. */ -pref("extensions.avim.ignoredFieldIds", "TextboxEval colorzilla-textbox-hex e-mail email tx_tagName"); +pref("extensions.avim.ignoredFieldIds", "colorzilla-textbox-hex e-mail email textboxeval tx_tagname"); /* Include some standard input methods in the Auto method. */ pref("extensions.avim.auto.telex", true); diff --git a/install.rdf b/install.rdf index ba1757c..0468b28 100755 --- a/install.rdf +++ b/install.rdf @@ -35,7 +35,7 @@ Type fully-accented Vietnamese directly into any webpage or dialog box using a standard keyboard. Minh Nguyen Hieu Dang - http://avim.veneroida.com/ + http://www.1ec5.org/software/avim/ chrome://avim/content/avim.png @@ -46,7 +46,7 @@ Teclar en vietnamita con todos los acentos, directamente en cualquier página Web o caja de diálogo, usando un teclado estándar. Minh Nguyen Hieu Dang - http://avim.veneroida.com/ + http://www.1ec5.org/software/avim/ @@ -58,7 +58,7 @@ Gõ tiếng Việt có dấu thẳng vào bất cứ trang Web hay hộp thoại nào, chỉ cần bàn phím thường. Nguyễn Xuân Minh Đặng Trần Hiếu - http://avim.veneroida.com/ + http://www.1ec5.org/software/avim/index.vi.html