From fbfcfee331d768c20e86585c644628b1bf3f14b7 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 9 Oct 2011 17:38:09 -0400 Subject: Fixes #3673 added autofocus class --- js/lib/ui.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js') 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(); } -- cgit v1.2.3