X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=0.6.x%2Fjs%2F05_util%2F01_XNinjaIframe.js;h=8a026f004e4e1bf4f68ec8ef847011e2524e4b45;hb=78f2b6b1bb07448d1c314775bf28a41b7111e386;hp=93f62f16acb330659af036be9817666c95f532b4;hpb=94c39d10a21853703c90cb09b1e82bd7a2d8923e;p=pettanr%2FclientJs.git diff --git a/0.6.x/js/05_util/01_XNinjaIframe.js b/0.6.x/js/05_util/01_XNinjaIframe.js index 93f62f1..8a026f0 100644 --- a/0.6.x/js/05_util/01_XNinjaIframe.js +++ b/0.6.x/js/05_util/01_XNinjaIframe.js @@ -3,6 +3,7 @@ * 孤立するとウィンドウ オブジェクトのプロパティが消去される */ +// TODO Node.inherits X.Util.NinjaIframe = X.EventDispatcher.inherits( 'NinjaIframe', { @@ -26,8 +27,9 @@ X.Util.NinjaIframe = X.EventDispatcher.inherits( { className : 'hidden-iframe', scrolling : 'no', + allowtransparency : 'no', frameborder : 0, - allowtransparency : 'no', + tabindex : -1, name : this._name, id : this._name } @@ -59,7 +61,7 @@ X.Util.NinjaIframe = X.EventDispatcher.inherits( // こちらに名前をsetしないとtargetが動作しない this._iwin.name = this._name; - this.xnodeIframe.listen( X_UA.IE < 9 ? [ 'readystatechange', 'error' ] : [ 'load', 'error' ], this ); + this.xnodeIframe.listen( [ X_UA.IE < 9 ? 'readystatechange' : 'load', 'error' ], this ); if( !( X_UA.IE < 9 ) ){ this._html && X_Util_NinjaIframe_writeToIframe( this ); @@ -73,7 +75,7 @@ X.Util.NinjaIframe = X.EventDispatcher.inherits( if( !this._ready ){ this._html && X_Util_NinjaIframe_writeToIframe( this ); this._ready = true; - return; + return; }; // onload case 'load' :