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
open-source
MetaGer
Commits
7123334b
Commit
7123334b
authored
Aug 22, 2017
by
Aria Givi
Browse files
id selector zu class selector umgeaendert
parent
e7a647b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
resources/assets/js/scriptStartPage.js
View file @
7123334b
...
...
@@ -61,12 +61,12 @@ function setActionListeners () {
});
}
$
(
'
#addFocusBtn
'
).
click
(()
=>
showFocusCreateDialog
(
''
));
$
(
'
#
save-focus-btn
'
).
click
(
saveFocus
);
$
(
'
#
delete-focus-btn
'
).
click
(
deleteFocus
);
$
(
'
.
save-focus-btn
'
).
click
(
saveFocus
);
$
(
'
.
delete-focus-btn
'
).
click
(
deleteFocus
);
// Save Focus on clicking enter while in the focus name input
$
(
'
#focus-name
'
).
keyup
(
function
(
event
)
{
if
(
event
.
keyCode
==
13
)
{
$
(
'
#
save-focus-btn
'
).
click
();
$
(
'
.
save-focus-btn
'
).
click
();
}
});
$
(
'
#create-focus-modal
'
).
on
(
'
shown.bs.modal
'
,
function
()
{
...
...
resources/views/index.blade.php
View file @
7123334b
...
...
@@ -154,10 +154,10 @@
<
input
id
=
"original-id"
type
=
"hidden"
name
=
"original-id"
value
=
""
>
</
div
>
<
div
class
=
"settings-modal-buttons pull-right"
>
<
button
id
=
"delete-focus-btn
"
class
=
"
btn btn-danger"
>
<
button
class
=
"delete-focus-btn
btn btn-danger"
>
@
lang
(
'index.focus-creator.delete'
)
</
button
>
<
button
id
=
"save-focus-btn
"
class
=
"
btn btn-primary"
>
<
button
class
=
"save-focus-btn
btn btn-primary"
>
@
lang
(
'index.focus-creator.save'
)
</
button
>
</
div
>
...
...
Write
Preview
Markdown
is supported
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