* [refac bug #53685] check execution.

This commit is contained in:
wangyidong
2024-08-14 09:33:16 +08:00
committed by 孙广明
parent 6ad50c8997
commit 7654f9772e
+3 -3
View File
@@ -312,11 +312,11 @@ window.checkObjectPriv = function(e)
if($object.length > 0) objectID = $object.val();
if(libType == 'project')
{
let $extension = $('[name=execution]');
if($extension.length > 0 && $extension.val())
let $execution = $('[name=execution]');
if($execution.length > 0 && parseInt($execution.val()) > 0)
{
objectType = 'execution';
objectID = $extension.val();
objectID = $execution.val();
}
}
if(objectID == 0) return;