Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Turris
Foris
foris-pakon-plugin
Commits
9a4a9ed6
Commit
9a4a9ed6
authored
Aug 15, 2018
by
Michal Lupečka
Browse files
forgotten jsdoc comments
parent
71161683
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/static/js/czNicTurrisPakon.js
View file @
9a4a9ed6
...
...
@@ -2468,7 +2468,7 @@ class czNicTurrisPakon // eslint-disable-line no-unused-vars
for
(
const
i
in
inputs
)
{
if
(
inputs
[
i
]
&&
inputs
[
i
].
nodeType
)
{
if
(
inputs
[
i
]
===
inputs
.
downloadView
)
{
inputs
[
i
].
addEventListener
(
CLICK_EVENT_NAME
,
(
event
)
=>
inputs
[
i
].
addEventListener
(
CLICK_EVENT_NAME
,
(
/** @type {Event} */
event
)
=>
{
event
.
preventDefault
();
event
.
stopPropagation
();
...
...
@@ -2482,7 +2482,7 @@ class czNicTurrisPakon // eslint-disable-line no-unused-vars
const
fakeUntrustedEvent
=
{};
fakeUntrustedEvent
.
isTrusted
=
false
;
inputs
[
i
].
addEventListener
(
CLICK_EVENT_NAME
,
this
.
universalFormHook
.
bind
(
this
,
fakeUntrustedEvent
),
false
);
// @todo : only flush when fakeUntrustedEvent
inputs
[
i
].
addEventListener
(
CLICK_EVENT_NAME
,
(
event
)
=>
inputs
[
i
].
addEventListener
(
CLICK_EVENT_NAME
,
(
/** @type {Event} */
event
)
=>
{
/** @type {HTMLInputElement} */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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