Focus the mainPanelsElement in a timeout so it happens after the
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Jun 2008 22:32:45 +0000 (22:32 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Jun 2008 22:32:45 +0000 (22:32 +0000)
commit3952b7cc0e015af63c1d7bc4352770279d78bb55
tree614969ae608db4798b74978a673a2d38595b83b8
parenta7f540851d96dd41cea8a5f81f7fa62aa4ae5af4
    Focus the mainPanelsElement in a timeout so it happens after the
        initial focus, so it doesn't get reset to the first toolbar button.
        This initial focus happens on Mac when the window is made key and
        the WebHTMLView becomes the first responder.

        https://bugs.webkit.org/show_bug.cgi?id=19587

        Reviewed by Adele Peterson.

        * page/inspector/inspector.js:
        (WebInspector.loaded): Focus the mainPanelsElement in a timeout.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@34632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/page/inspector/inspector.js