+function X_ViewPort_detectFocusForIE( e ){
+ //console.log( 'iefix! ' + e.type + ':' + this.attr( 'tag' ) + ' isActive?:' + ( this[ '_rawObject' ] === document.activeElement ) );
+ var elmActive = X_Script_try( X_Object_find, [ document, 'activeElement' ] );
+ X_ViewPort_active = e.type === 'focus';
+
+
+ if( elmActive && this[ '_rawObject' ] !== elmActive ){
+ this[ 'unlisten' ]( X_ViewPort_active ? 'blur' : 'focus', X_ViewPort_detectFocusForIE );
+ console.log( '>>>>>> activeElement 取得 不一致 ' + this._tag );
+ } else
+ if( !elmActive ){
+ console.log( '******** activeElement 取得のエラー' );
+ } else if( elmActive ){
+ console.log( '>>>>>> activeElement 取得' );
+ };
+
+ if( X_ViewPort_activeTimerID ){
+ X_Timer_remove( X_ViewPort_activeTimerID );
+ };
+ X_ViewPort_activeTimerID = X_Timer_once( 16, X_ViewPort_changeFocus );
+
+ return X_CALLBACK_PREVENT_DEFAULT | X_CALLBACK_STOP_PROPAGATION;
+};
+