From: handa Date: Tue, 16 Mar 2010 00:11:44 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: ALPHA~13 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48361a6cf1bf8f48630e501fa81ad2dcfa9593b8;p=m17n%2Fm17n-lib-js.git *** empty log message *** --- diff --git a/xex.js b/xex.js index a02d54a..a7ed176 100644 --- a/xex.js +++ b/xex.js @@ -6,6 +6,8 @@ var Xex = { { if (! Xex.LogNode) return; + if (typeof indent == 'number') + return; if (! arg) Xex.LogNode.value = ''; else @@ -13,7 +15,7 @@ var Xex = { var str = ''; if (! cont) { - Xex.LogNode.value += "\n"; + str = "\n"; if (indent != undefined) for (var i = 0; i <= indent; i++) str += ' '; @@ -3314,7 +3316,8 @@ MIM.focus_in = function (event) } Xex.Log ("Focus in " + target.tagName); ic.Filter (MIM.Key.FocusIn); - MIM.update (target, ic); + function up () {MIM.update (target, ic);} + setTimeout (up, 100); } MIM.focus_out = function (event)