Show
Ignore:
Timestamp:
08/05/08 07:06:38 (5 months ago)
Author:
mdcurran
Message:

Temporarily disable setting focus to a field in a gecko virtualBuffer when arrwoing to it if it is an embedded object (Flash or java etc). This is causing users to get stuck in Flash objects too much. Best for p2 to just protect against this all together.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/virtualBuffers/gecko_ia2.py

    r2279 r2334  
    158158                                api.setNavigatorObject(obj) 
    159159                                obj.IAccessibleObject.scrollTo(GECKO_SCROLL_TYPE_ANYWHERE) 
    160                                 if not eventHandler.isPendingEvents('gainFocus') and controlTypes.STATE_FOCUSABLE in obj.states: 
     160                                if not eventHandler.isPendingEvents('gainFocus') and controlTypes.STATE_FOCUSABLE in obj.states and obj.role!=controlTypes.ROLE_EMBEDEDOBJECT: 
    161161                                        obj.setFocus() 
    162162                except: