[Sie-announce] SIEコード [1447] いべんとにかんするバグを修正

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 12月 6日 (日) 00:08:34 JST


Revision: 1447
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1447
Author:   dhrname
Date:     2009-12-06 00:08:34 +0900 (Sun, 06 Dec 2009)

Log Message:
-----------
いべんとにかんするバグを修正

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

Modified: branches/05x/055/sie.js
===================================================================
--- branches/05x/055/sie.js	2009-12-04 14:30:17 UTC (rev 1446)
+++ branches/05x/055/sie.js	2009-12-05 15:08:34 UTC (rev 1447)
@@ -2239,7 +2239,7 @@
   try {
     var n = parseFloat(this.begin.match(/[\-\d\.]+(h|min|s|ms)/));
     offset = (!isNaN(n)) ? n * this._unit[RegExp.$1] : 0;
-    if ( /(mouse|activ)/.test(this.begin) ) { //イベントがある場合
+    if ( /(mouse|activ|click)/.test(this.begin) ) { //イベントがある場合
       var tar;
       if ( /\.\D/.test(this.begin) ) {
         tar = document.getElementById( this.begin.substring(0, this.begin.indexOf(".")) );
@@ -2247,7 +2247,7 @@
         tar = this.tarrget.tar;
       }
       var tea = this.beginElementAt;
-      tar.attachEvent( "on" + this.begin.match(/(mouse|activ)[a-z]+/i), (function(){tea(offset)}) );
+      tar.attachEvent( "on" + this.begin.match(/(mouse|activ|clic)[a-z]+/i), (function(){tea(offset)}) );
     } else {
       this.beginElementAt(offset);
       beginOffset = offset;
@@ -2259,7 +2259,7 @@
     if (this.end) {
       var n = parseFloat(this.end.match(/[\-\d\.]+(h|min|s|ms)/));
       offset = (!isNaN(n)) ? n * this._unit[RegExp.$1] : 0;
-      if ( /(mouse|activ)/.test(this.end) ) { //イベントがある場合
+      if ( /(mouse|activ|click)/.test(this.end) ) { //イベントがある場合
         var tar;
         if ( /\.\D/.test(this.end) ) {
           tar = document.getElementById( this.end.substring(0, this.end.indexOf(".")) );
@@ -2267,7 +2267,7 @@
           tar = this.tarrget.tar;
         }
         var tea = this.endElementAt;
-        tar.attachEvent( "on" + this.end.match(/(mouse|activ)[a-z]+/i), (function(){tea(offset)}) );
+        tar.attachEvent( "on" + this.end.match(/(mouse|activ|clic)[a-z]+/i), (function(){tea(offset)}) );
       } else {
         this.endElementAt(offset);
       }




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