This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
nielsperetzke
/
healthchecks
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
32
Wiki
Activity
Browse Source
auto-focus input elements in Account Settings modal dialogs.
pull/140/head
Pēteris Caune
7 years ago
parent
0b68393bb0
commit
888d7a1f9c
1 changed files
with
8 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-0
static/js/profile.js
+ 8
- 0
static/js/profile.js
View File
@ -10,4 +10,12 @@ $(function() {
return
false
;
}
)
;
$
(
'#invite-team-member-modal'
)
.
on
(
'shown.bs.modal'
,
function
(
)
{
$
(
'#itm-email'
)
.
focus
(
)
;
}
)
$
(
'#set-team-name-modal'
)
.
on
(
'shown.bs.modal'
,
function
(
)
{
$
(
'#team-name'
)
.
focus
(
)
;
}
)
}
)
;
Write
Preview
Loading…
Cancel
Save