[Sie-announce] SIEコード [1624]

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2010年 2月 2日 (火) 23:31:04 JST


Revision: 1624
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1624
Author:   dhrname
Date:     2010-02-02 23:31:04 +0900 (Tue, 02 Feb 2010)

Log Message:
-----------


Modified Paths:
--------------
    branches/ufltima/dom/events.js

Modified: branches/ufltima/dom/events.js
===================================================================
--- branches/ufltima/dom/events.js	2010-02-02 14:30:51 UTC (rev 1623)
+++ branches/ufltima/dom/events.js	2010-02-02 14:31:04 UTC (rev 1624)
@@ -108,6 +108,12 @@
   if (!evt.type || evt.type === "") { //Eventの型が設定されていないとき
     throw new EventException(EventException.UNSPECIFIED_EVENT_TYPE_ERR);
   }
+  evt.target = this;
+  var te = this, s = [];
+  do {
+    s.unshift(te);
+    te = te.parentNode;
+  } while (te);
   if (this === evt.target) {
     evt.eventPhase = Event.AT_TARGET;
   }




Sie-announce メーリングリストの案内
Back to archive index