Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
66b36908
Commit
66b36908
authored
May 11, 2016
by
Rafael Ostertag
Browse files
use `.focus` configuration option.
parent
ecd84cc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
mockup/alert.html
View file @
66b36908
...
...
@@ -23,7 +23,7 @@
<script>
$
(
function
()
{
$
(
'
#showalert1
'
).
click
(
function
()
{
var
alert
=
new
QfqNS
.
Alert
(
"
This is alert 1
"
,
'
error
'
,
[{
label
:
"
OK
"
,
eventName
:
"
ok
"
},
var
alert
=
new
QfqNS
.
Alert
(
"
This is alert 1
"
,
'
error
'
,
[{
label
:
"
OK
"
,
eventName
:
"
ok
"
,
focus
:
true
},
{
label
:
"
Cancel
"
,
eventName
:
"
cancel
"
}]);
alert
.
on
(
'
alert.ok
'
,
function
()
{
console
.
log
(
"
OK button alert 1
"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment