* Code for task#113756.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -8,7 +8,6 @@ class storyRelatedList extends relatedList
|
||||
{
|
||||
protected static array $defineProps = array
|
||||
(
|
||||
|
||||
'fromBug' => '?object', // 来源 BUG。
|
||||
'bugs' => '?array', // 关联的 BUG 列表。
|
||||
'builds' => '?array', // 关联的版本列表。
|
||||
|
||||
@@ -68,7 +68,6 @@ if($story->files)
|
||||
{
|
||||
$sections[] = array
|
||||
(
|
||||
'title' => $lang->files,
|
||||
'control' => 'fileList',
|
||||
'files' => $story->files,
|
||||
'showDelete' => false,
|
||||
|
||||
Reference in New Issue
Block a user