This commit is contained in:
wangyidong
2023-10-10 15:48:44 +08:00
parent f8390f8771
commit 62753b8ff8
+4 -4
View File
@@ -107,13 +107,13 @@ $(function()
$('#batchUnlinkStory').click(function()
{
var storyIdList = '';
$("input[name^='storyIdList']:checked").each(function()
var storyIdList = [];
$("#productStoryForm input[name^='storyIdList']").each(function()
{
storyIdList += $(this).val() + ',';
storyIdList.push($(this).val());
});
$.get(createLink('projectstory', 'batchUnlinkStory', 'projectID=' + projectID + '&storyIdList=' + storyIdList), function(data)
$.get(createLink('projectstory', 'batchUnlinkStory', 'projectID=' + projectID + '&storyIdList=' + storyIdList.join(',')), function(data)
{
if(data)
{