Changeset 7046


Ignore:
Timestamp:
Dec 15, 2015, 9:43:27 AM (6 years ago)
Author:
Nicklas Nordborg
Message:

Auto-focusing on input fields in a popup window need a short delay in IE or they may look like they are focused (eg. the css styles are applied) but they will not received keybord events.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.7-stable/www/include/scripts/main-2.js

    r7001 r7046  
    28142814      Doc.addFinalizer(function()
    28152815      {
    2816         element.focus();
    2817         if (autoInit == 'focus-select') element.select();
     2816        setTimeout(function()
     2817          {
     2818            element.focus();
     2819            if (autoInit == 'focus-select') element.select();
     2820          }, 250);
    28182821      });
    28192822    }
Note: See TracChangeset for help on using the changeset viewer.