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
ceb8eb57
Commit
ceb8eb57
authored
Nov 09, 2020
by
Давид Добряков
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix timer.js: add ability for bug creating for non @etersoft.ru users
parent
184e32d1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
timer.js
js/etersoft/timer.js
+15
-0
No files found.
js/etersoft/timer.js
View file @
ceb8eb57
...
@@ -122,6 +122,21 @@ window.addEventListener("load", function() {
...
@@ -122,6 +122,21 @@ window.addEventListener("load", function() {
// cancel form submiting
// cancel form submiting
event
.
preventDefault
();
event
.
preventDefault
();
if
(
!
isworker
())
{
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
5b41d1be
·
Jul 26, 2026
mentioned in commit
5b41d1be
mentioned in commit 5b41d1becb8ac4730545cc20ace12f4d035606f8
Toggle commit list
Vitaly Lipatov
@lav
mentioned in commit
c70a597f
·
Jul 26, 2026
mentioned in commit
c70a597f
mentioned in commit c70a597fd4d3e2381b56abb82f2786959d217a76
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