Skip to content

Commit

Permalink
1. Fix windows IME bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
ettoolong committed Nov 24, 2015
1 parent 8820953 commit 0a1f802
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 19 deletions.
19 changes: 1 addition & 18 deletions chrome/content/termview.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
3 changes: 3 additions & 0 deletions chrome/locale/en-US/history.htm
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
</style>
</head>
<body>
<span class='s2'>Version 4.0.19 Updates:</span><br/>
‧Fix windows IME bug.<br/>
<br/>
<span class='s2'>Version 4.0.18 Updates:</span><br/>
‧Fix windows IME bug.<br/>
‧Fix drag text bug.<br/>
Expand Down
3 changes: 3 additions & 0 deletions chrome/locale/zh-TW/history.htm
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
</style>
</head>
<body>
<span class='s2'>4.0.19 版的改動:</span><br/>
‧修正windows下輸入法的問題。<br/>
<br/>
<span class='s2'>4.0.18 版的改動:</span><br/>
‧修正windows下輸入法的問題。<br/>
‧修正拖曳文字的問題。<br/>
Expand Down
2 changes: 1 addition & 1 deletion install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<Description about="urn:mozilla:install-manifest">
<em:id>{86095750-AD15-46d8-BF32-C0789F7E6A32}</em:id>
<em:version>4.0.18</em:version>
<em:version>4.0.19</em:version>
<em:type>2</em:type>

<em:targetApplication><!-- Firefox -->
Expand Down

0 comments on commit 0a1f802

Please sign in to comment.