DescriptionSince rev 167360, change focus handling for a11y, list view and tree view aren't active element when executing command from [Organized] menu.
This patch changes to use global variable |list| instead of document.activeElement if activeElement isn't tree view.
* list 'canExecute' event handler: Changed to call canExecuteForList().
* canExecuteForList(): Copied list 'canExecute' event handler and to use |list|.
* organizeButton 'canExecute' event handler: Update sort-command canExecute even if canEdit isn't changed.
* document 'command' event handler: Changed to call handleCommand()
* getSelectedBoomarkNodes(): Changed to handle activeElement is neither list or tree.
* handleCommand(): Changed to handle all commands rather than list and tree context menus.
BUG=165075
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=172230
Patch Set 1 : 2012-12-10T15:50 #
Messages
Total messages: 2 (0 generated)
|