Merge branch 'master_bug_28243' into 'master'

* Fix bug #28243.

See merge request easycorp/zentaopms!6761
This commit is contained in:
孙广明
2023-01-13 06:12:56 +00:00
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -389,7 +389,7 @@ class story extends control
foreach($this->config->story->fromObjects[$fromObjectIDKey]['fields'] as $storyField => $fromObjectField)
{
$$storyField = $fromObject->{$fromObjectField};
$storyField = $fromObject->{$fromObjectField};
}
}
+6
View File
@@ -59,6 +59,12 @@ $(function()
return false;
});
$('#product').on('change', function(){
var productID = $('#product').val();
var viewLink = createLink('story', 'create', 'productID=' + productID + '&branch=all');
self.location.href = viewLink;
});
$('#module').on('change', function(){
loadURS();
});