Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
1e285f0c
Commit
1e285f0c
authored
Nov 10, 2020
by
Давид Добряков
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix modal window showing for non
@etersoft
users
parent
6bfa6abb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
timer.js
js/etersoft/timer.js
+14
-0
No files found.
js/etersoft/timer.js
View file @
1e285f0c
...
@@ -155,6 +155,20 @@ window.addEventListener("load", function() {
...
@@ -155,6 +155,20 @@ window.addEventListener("load", function() {
// cancel form submiting
// cancel form submiting
event
.
preventDefault
();
event
.
preventDefault
();
if
(
!
isetersoft
())
{
const
comment
=
document
.
querySelector
(
'#comment'
).
value
.
length
;
if
(
!
comment
)
{
alert
(
'Поле комментария не может быть пустым!'
);
return
}
const
bugForm
=
etersoft_create
===
1
?
"#Create"
:
"#changeform"
;
document
.
querySelector
(
bugForm
).
submit
();
return
}
let
timespentValue
=
getTimespentValue
();
let
timespentValue
=
getTimespentValue
();
dialog
.
style
.
display
=
"block"
;
dialog
.
style
.
display
=
"block"
;
...
...
Vitaly Lipatov
@lav
mentioned in commit
22961ff6
·
Jul 26, 2026
mentioned in commit
22961ff6
mentioned in commit 22961ff65ec91eb4d259636e7c940b76e98dfd17
Toggle commit list
Vitaly Lipatov
@lav
mentioned in commit
b44ff6e5
·
Jul 26, 2026
mentioned in commit
b44ff6e5
mentioned in commit b44ff6e5513e7b2a71ad9119b0c15961b4dfb0ee
Toggle commit list
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