Results 1 to 4 of 4

Thread: [4.2] Ext.window.Window not use property 'focusOnToFront'

  1. #1
    Sencha User
    Join Date
    Aug 2009
    Posts
    42
    Vote Rating
    1
      0  

    Default [4.2] Ext.window.Window not use property 'focusOnToFront'

    Ext.window.Window use property 'focusOnToFront'.

    Source: ext-4.2.0\src\window\Window.js

    Code:
        onMouseDown: function (e) {
            var preventFocus;
                
            if (this.floating) {
                if (Ext.fly(e.getTarget()).focusable()) {
                    preventFocus = true;
                }
                //todo: NEED CHECK focusOnToFront?
                this.toFront(preventFocus);
            }
        },

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    I don't see an onMouseDown method in 4.2.0 RC1
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Aug 2009
    Posts
    42
    Vote Rating
    1
      0  

    Default

    Sorry, this bug in beta-2...

  4. #4
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,615
    Vote Rating
    54
      0  

    Default

    That method has been moved into Floating

    It must focus. It's responding to a mousedown event. You always expect to focus what you mousedown upon.

    The exception there is if the particular element the mouse was on can accept focus itself. In that case we let nature take its course.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •