diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-10-09 17:38:09 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-10-09 17:38:09 -0400 |
commit | fbfcfee331d768c20e86585c644628b1bf3f14b7 (patch) | |
tree | 89df9acfa281809106bc58f5cc0282fc893988ba /js | |
parent | 79cf12c11e6e16e59be8d485ff26714b5c6fb55d (diff) | |
download | elgg-fbfcfee331d768c20e86585c644628b1bf3f14b7.tar.gz elgg-fbfcfee331d768c20e86585c644628b1bf3f14b7.tar.bz2 |
Fixes #3673 added autofocus class
Diffstat (limited to 'js')
-rw-r--r-- | js/lib/ui.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/lib/ui.js b/js/lib/ui.js index 7abf7626f..57378a4d6 100644 --- a/js/lib/ui.js +++ b/js/lib/ui.js @@ -19,6 +19,8 @@ elgg.ui.init = function () { $('.elgg-requires-confirmation').live('click', elgg.ui.requiresConfirmation); + $('.elgg-autofocus').focus(); + if ($('.elgg-input-date').length) { elgg.ui.initDatePicker(); } |