diff --git a/static/js/pandora/account.js b/static/js/pandora/account.js index 3fe12e6c..ebcab75a 100644 --- a/static/js/pandora/account.js +++ b/static/js/pandora/account.js @@ -290,7 +290,7 @@ pandora.ui.accountForm = function(action, value) { ? pandora.autovalidateUsername : pandora.autovalidateEmail, validate: pandora.validateUser(selected, true), value: '' - }).focusInput(); + }).focusInput(true); that.$element.find('.OxFormMessage:visible').html('').hide(); pandora.$ui.accountDialog.disableButton('submitReset'); } diff --git a/static/js/pandora/findElement.js b/static/js/pandora/findElement.js index 92c15c11..0b3fbdc4 100644 --- a/static/js/pandora/findElement.js +++ b/static/js/pandora/findElement.js @@ -19,7 +19,7 @@ pandora.ui.findElement = function() { var key = data.selected[0].id; pandora.$ui.findInput.options({ autocomplete: autocompleteFunction() - }).focusInput(); + }).focusInput(true); } }), ] : [], [ @@ -55,7 +55,7 @@ pandora.ui.findElement = function() { pandora.$ui.findInput.options({ autocomplete: autocompleteFunction(), placeholder: '' - }).focusInput(); + }).focusInput(true); } } }), diff --git a/static/js/pandora/home.js b/static/js/pandora/home.js index 328d0925..cdf98cc9 100644 --- a/static/js/pandora/home.js +++ b/static/js/pandora/home.js @@ -242,7 +242,7 @@ pandora.ui.home = function() { that.fadeInScreen = function() { that.appendTo(Ox.UI.$body).animate({opacity: 1}, 500, function() { that.find(':not(#logo)').animate({opacity: 1}, 250, function() { - $findInput.focusInput(); + $findInput.focusInput(true); }); }); $logo.animate({width: '320px'}, 500); @@ -269,7 +269,7 @@ pandora.ui.home = function() { $logo.css({width: '320px'}); that.find(':not(#logo)').css({opacity: 1}); that.css({opacity: 1}).appendTo(Ox.UI.$body); - $findInput.focusInput(); + $findInput.focusInput(true); return that; }; diff --git a/static/js/pandora/listDialog.js b/static/js/pandora/listDialog.js index 14d39f7b..ee1a2e86 100644 --- a/static/js/pandora/listDialog.js +++ b/static/js/pandora/listDialog.js @@ -59,7 +59,7 @@ pandora.ui.listDialog = function(section) { }); // fixme: this is a bit weird setTimeout(function() { - pandora.$ui.findIconItemInput.focusInput(); + pandora.$ui.findIconItemInput.focusInput(true); }, 250); } }),