1. #1
    Sencha User
    Join Date
    Aug 2009
    Posts
    42
    Vote Rating
    0
    fguest is on a distinguished road

      0  

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

    [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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,620
    Vote Rating
    817
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    I don't see an onMouseDown method in 4.2.0 RC1
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Aug 2009
    Posts
    42
    Vote Rating
    0
    fguest is on a distinguished road

      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,496
    Vote Rating
    44
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      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.

Thread Participants: 2