From 983c711cb17bf83071915faabaff92698ff1e0e2 Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 10 Mar 2010 12:08:34 +0000 Subject: [PATCH] *** empty log message *** --- xex.js | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/xex.js b/xex.js index 90fd2d3..e97c17e 100644 --- a/xex.js +++ b/xex.js @@ -3144,20 +3144,9 @@ MIM.focus_in = function (event) { var target = event.target; var ic = target.mim_ic; - if (ic) - { - if (target.mim_ignore_focus_in) - { - Xex.Log ('ignore focus_in in ' + target.tagName); - // Ignore this event which is caused by setSelectionRange (). - target.mim_ignore_focus_in = false; - event.preventDefault (); - } - else - { - Xex.Log ('focus_in in ' + target.tagName); - ic.Filter (MIM.Key.FocusIn); - MIM.update (target, ic); + ic.Filter (MIM.Key.FocusIn); + target.removeEventListener (''); + setTimeout (MIM.update (target, ic); // Ignore further focus-in caused by setSelectionRange (). target.mim_ignore_focus_in = true; } -- 1.7.10.4