Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nk20
Manage
Activity
Members
Labels
Plan
Issues
32
Issue boards
Milestones
Wiki
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BDE
nk20
Merge requests
!109
Last deployment fixes
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Last deployment fixes
beta
into
master
Overview
0
Commits
13
Pipelines
1
Changes
35
Merged
ynerant
requested to merge
beta
into
master
4 years ago
Overview
0
Commits
13
Pipelines
1
Changes
2
Expand
Skip LaTeX tests, commit migrations, remove some fixtures
👍
0
👎
0
Merge request reports
Viewing commit
afc367cf
Prev
Next
Show latest version
2 files
+
6
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
afc367cf
Use === in JS
· afc367cf
me5na7qbjqbrp
authored
4 years ago
note_kfet/static/js/dynamic-formset.js
+
4
−
4
Options
@@ -39,16 +39,16 @@
}
var
showAddButton
=
function
()
{
return
maxForms
.
length
==
0
||
// For Django versions pre 1.2
(
maxForms
.
val
()
==
''
||
(
maxForms
.
val
()
-
totalForms
.
val
()
>
0
))
return
maxForms
.
length
==
=
0
||
// For Django versions pre 1.2
(
maxForms
.
val
()
==
=
''
||
(
maxForms
.
val
()
-
totalForms
.
val
()
>
0
))
}
/**
* Indicates whether delete link(s) can be displayed - when total forms > min forms
*/
var
showDeleteLinks
=
function
()
{
return
minForms
.
length
==
0
||
// For Django versions pre 1.7
(
minForms
.
val
()
==
''
||
(
totalForms
.
val
()
-
minForms
.
val
()
>
0
))
return
minForms
.
length
==
=
0
||
// For Django versions pre 1.7
(
minForms
.
val
()
==
=
''
||
(
totalForms
.
val
()
-
minForms
.
val
()
>
0
))
}
var
insertDeleteLink
=
function
(
row
)
{
Loading