Closed (fixed)
Project:
Module Filter
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2012 at 18:48 UTC
Updated:
19 Jul 2012 at 23:31 UTC
When you load the module page with module_filter enabled, the cursor automatically places itself in the module search box. This prevents me from using my keyboard arrow keys to scroll down. I have to click outside the search box to remove the focus first.
Add a configuration option that lets me stop the cursor focus from starting in the search box.
I'm asking for a configuration option because I can see how the default behavior is useful for many people. Having an option lets people set it up how they want it. Whichever way is most useful for them.
Comments
Comment #1
jerrac commentedWell, I figured out the offending code is module_filter.js line 267.
filterInput.focus();I also added a setting to the admin configuration page.
But I'm stuck on how to check that setting around line 267 in order to see if it should set the focus or not.
So, how can I do that?
Comment #2
greenskin commentedAdded the setting. :)
http://drupalcode.org/project/module_filter.git/commit/cd7d8e7bd5b25ac75...