From 5c2ed30fd3ff104aac5c69c6c17b3c0dfda93120 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Tue, 13 Dec 2022 16:42:17 +0800 Subject: [PATCH] * Fix bug of task#79663. --- module/productplan/js/edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/productplan/js/edit.js b/module/productplan/js/edit.js index 9d3733f176..4d4a4db832 100644 --- a/module/productplan/js/edit.js +++ b/module/productplan/js/edit.js @@ -88,7 +88,7 @@ $('#submit').click(function() { var parentPlan = $('#parent').val(); var branches = $('#branch').val(); - if(parentPlan != 0 && branches) + if(parentPlan > 0 && branches) { link = createLink('productplan', 'ajaxGetDiffBranchesTip', "produtID=" + productID + "&parentID=" + parentPlan + "&branches=" + branches.toString()); $.post(link, function(diffBranchesTip)