Use length property instead of size() member function
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
redmine (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
size() function is not recommended in jQuery, use length property.
It maybe make trouble in gantt-progress-
-------
index b05e28d..cf33f12 100644
@@ -659,12 +659,12 @@ function beforeShowDateP
var default_date = null;
switch ($(input)
case "issue_start_date" :
- if ($("#issue_
+ if ($("#issue_
}
break;
case "issue_due_date" :
- if ($("#issue_
+ if ($("#issue_
var start_date = $("#issue_
if (start_date != "") {
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: redmine 4.0.6-2
ProcVersionSign
Uname: Linux 5.4.0-31-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Tue May 19 22:37:21 2020
InstallationDate: Installed on 2018-05-04 (745 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64(20180108.1)
PackageArchitec
SourcePackage: redmine
UpgradeStatus: Upgraded to focal on 2020-05-10 (9 days ago)