* Code for task#113756.

This commit is contained in:
xieqiyu
2024-03-18 14:51:54 +08:00
parent 5fb3c1e267
commit 3b623deb22
3 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ class linkedStoryList extends storyList
const $this = $(e.target).closest('li').find('.unlinkStory');
zui.Modal.confirm({message: window.unlinkStoryTip || $this.closest('ul').data('unlinkStoryTip'), icon:'icon-exclamation-sign', iconClass: 'warning-pale rounded-full icon-2x'}).then((res) =>
{
if(res) $.get($this.attr('url'), function(){$this.closest('li').remove()});
if(res) $.get($this.attr('data-url'), function(){$this.closest('li').remove()});
});
};
JS;
-1
View File
@@ -8,7 +8,6 @@ class storyRelatedList extends relatedList
{
protected static array $defineProps = array
(
'fromBug' => '?object', // 来源 BUG。
'bugs' => '?array', // 关联的 BUG 列表。
'builds' => '?array', // 关联的版本列表。
-1
View File
@@ -68,7 +68,6 @@ if($story->files)
{
$sections[] = array
(
'title' => $lang->files,
'control' => 'fileList',
'files' => $story->files,
'showDelete' => false,