* [feedback#7470,done,0.5h,0h] Fix check charter val empty error.
This commit is contained in:
@@ -49,7 +49,7 @@ window.loadBranches = function(e)
|
||||
{
|
||||
let branch = $(e.target).closest('.productBox').find("[name^='branch']");
|
||||
|
||||
if($('[name="charter"]').length && $('[name="charter"]').val())
|
||||
if($('[name="charter"]').length && $('[name="charter"]').val() > 0)
|
||||
{
|
||||
loadRoadmaps(e.target, branch.length > 0 ? branch[0] : branch);
|
||||
}
|
||||
@@ -63,7 +63,7 @@ window.loadBranches = function(e)
|
||||
{
|
||||
let branch = $(e.target).closest('.productBox').find("[name^='branch']");
|
||||
|
||||
if($('[name="charter"]').length && $('[name="charter"]').val())
|
||||
if($('[name="charter"]').length && $('[name="charter"]').val() > 0)
|
||||
{
|
||||
loadRoadmaps(e.target, branch.length > 0 ? branch[0] : branch);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user