Merge branch 'sprint/master_fixbug_202207' into 'master'

* fix bug #23954

See merge request easycorp/zentaopms!4254
This commit is contained in:
王怡栋
2022-06-30 04:04:17 +00:00
2 changed files with 5 additions and 2 deletions
@@ -0,0 +1,3 @@
<script>
$("#createCaseActionMenu a[href=#toBug]").remove();
</script>
@@ -37,7 +37,7 @@ $('#toStoryLink').click(function()
$('#toStoryButtonByProject').click(function()
{
var onlybody = config.onlybody == 'yes';
var projectID = $('#projectToStory').val();
var projectID = $('#projectToStory').val();
var link = createLink('story', 'create', 'productID=0&branch=0&moduleID=0&storyID=0&projectID=' + projectID + '&bugID=0&planID=0&todoID=' + todoID, config.defaultView, onlybody);
if(!onlybody) window.parent.$.apps.open(link, 'project');
@@ -75,4 +75,4 @@ function createProject()
config.onlybody = onlybody;
parent.location.href = link;
}
</script>
</script>