[Sie-announce] SIEコード [1453] Firefoxにおけるset要素に関連するイベントのバグの修正

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 12月 10日 (木) 23:03:29 JST


Revision: 1453
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1453
Author:   dhrname
Date:     2009-12-10 23:03:29 +0900 (Thu, 10 Dec 2009)

Log Message:
-----------
Firefoxにおけるset要素に関連するイベントのバグの修正

Modified Paths:
--------------
    branches/05x/055/sie.js

Modified: branches/05x/055/sie.js
===================================================================
--- branches/05x/055/sie.js	2009-12-10 13:17:29 UTC (rev 1452)
+++ branches/05x/055/sie.js	2009-12-10 14:03:29 UTC (rev 1453)
@@ -2419,10 +2419,10 @@
         tar = this.target.tar;
       }
       //クロージャを参照
-      (function(te, offse, ta, tb) {
-      ta.addEventListener( tb.match(/(mouse|activ|clic)[a-z]+/)[0],
-          function(){te(offse);}, false );
-      })(this.beginElementAt, offset, tar, this.begin);
+      (function(te, offse, ta) {
+      ta.addEventListener( te.begin.match(/(mouse|activ|clic)[a-z]+/)[0],
+          function(){te.beginElementAt(offse);}, false );
+      })(this, offset, tar);
     } else {
       this.beginElementAt(offset);
       beginOffset = offset;
@@ -2442,10 +2442,10 @@
           tar = this.target.tar;
         }
         //クロージャを参照
-        (function(te, offse, ta, tb) {
-        ta.addEventListener( tb.match(/(mouse|activ|clic)[a-z]+/)[0],
-            function(){te(offse);}, false );
-        })(this.endElementAt, offset, tar, this.end);
+        (function(te, offse, ta) {
+        ta.addEventListener( te.end.match(/(mouse|activ|clic)[a-z]+/)[0],
+            function(){te.endElementAt(offse);}, false );
+        })(this, offset, tar);
       } else {
         this.endElementAt(offset);
       }




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