summaryrefslogtreecommitdiffstats
path: root/install/ui/details.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-02-21 17:28:06 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-02-21 18:32:29 -0500
commitf0577622a9561413b15ae65895143aa27643d0e6 (patch)
tree22bf8a9dc591bed33f479d91bab6a90acccaf7c7 /install/ui/details.js
parent32e4914584b3dd6c62ebeeea8f6b5b657e5c6bdb (diff)
downloadfreeipa-f0577622a9561413b15ae65895143aa27643d0e6.tar.gz
freeipa-f0577622a9561413b15ae65895143aa27643d0e6.tar.xz
freeipa-f0577622a9561413b15ae65895143aa27643d0e6.zip
search filter focus afdter a search loads, focus moved to the search filter text box, tyhe most likely thing that the user will want to change on the page.
https://fedorahosted.org/freeipa/ticket/983
Diffstat (limited to 'install/ui/details.js')
-rw-r--r--install/ui/details.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/install/ui/details.js b/install/ui/details.js
index f579fb612..a2ad08961 100644
--- a/install/ui/details.js
+++ b/install/ui/details.js
@@ -571,7 +571,10 @@ IPA.button = function(spec) {
'class': 'ui-state-default ui-corner-all'
});
- if (spec.click) button.click(spec.click);
+ if (spec.click) {
+ button.click(spec.click);
+ }
+
if (spec['class']) button.addClass(spec['class']);
if (spec.icon) {