From 0a1f802e02e53cdfffea8bb7399d156927ce1e0c Mon Sep 17 00:00:00 2001 From: ettoolong Date: Tue, 24 Nov 2015 10:08:30 +0800 Subject: [PATCH] 1. Fix windows IME bug. --- chrome/content/termview.js | 19 +------------------ chrome/locale/en-US/history.htm | 3 +++ chrome/locale/zh-TW/history.htm | 3 +++ install.rdf | 2 +- 4 files changed, 8 insertions(+), 19 deletions(-) diff --git a/chrome/content/termview.js b/chrome/content/termview.js index d58c3c8..a1c1df4 100644 --- a/chrome/content/termview.js +++ b/chrome/content/termview.js @@ -1104,24 +1104,7 @@ TermView.prototype={ composition_end: function(e) { //this.input.disabled=""; //this.input.setAttribute('bshow', '0'); - if(this.os == 'WINNT'){ - //workaround for FX41 - start - //For FX41: - //if we change 'event.target.value' in 'compositionend' or 'input' event, we got someting wrong. - if(this.compositionStart) { - setTimer(false, function(){ - var text = e.target.value; - if(text) { - this.conn.convSend(text, this.prefs.charset); - } - this.input.value=''; - this.compositionStart = false; - }.bind(this), 1); - } - //workaround for FX41 - end - } else { - this.compositionStart = false; - } + this.compositionStart = false; this.input.style.border = 'none'; this.input.style.width = '0px'; this.input.style.height = '0px'; diff --git a/chrome/locale/en-US/history.htm b/chrome/locale/en-US/history.htm index 39113ce..09f2fcb 100644 --- a/chrome/locale/en-US/history.htm +++ b/chrome/locale/en-US/history.htm @@ -17,6 +17,9 @@ +Version 4.0.19 Updates:
+‧Fix windows IME bug.
+
Version 4.0.18 Updates:
‧Fix windows IME bug.
‧Fix drag text bug.
diff --git a/chrome/locale/zh-TW/history.htm b/chrome/locale/zh-TW/history.htm index 3be0210..fb33479 100644 --- a/chrome/locale/zh-TW/history.htm +++ b/chrome/locale/zh-TW/history.htm @@ -17,6 +17,9 @@ +4.0.19 版的改動:
+‧修正windows下輸入法的問題。
+
4.0.18 版的改動:
‧修正windows下輸入法的問題。
‧修正拖曳文字的問題。
diff --git a/install.rdf b/install.rdf index 6a8016c..83ecf32 100644 --- a/install.rdf +++ b/install.rdf @@ -5,7 +5,7 @@ {86095750-AD15-46d8-BF32-C0789F7E6A32} - 4.0.18 + 4.0.19 2