- Remove foldable justment.

This commit is contained in:
tianshujie
2024-01-22 14:14:33 +08:00
parent 274398800a
commit a609f0351a
+2 -2
View File
@@ -5,7 +5,7 @@ global $lang,$config;
$fields = defineFieldList('task.create', 'task');
/* Set foldable attribute. */
$fields->field('module')->foldable(strpos($config->task->create->requiredFields, 'module') === false);
$fields->field('module')->foldable();
$fields->field('files')->foldable();
$fields->field('mailto')->foldable();
$fields->field('keywords')->foldable();
@@ -142,7 +142,7 @@ $fields->field('storyBox')
->label($lang->task->story)
->checkbox(array('text' => $lang->task->syncStory, 'name' => 'copyButton'))
->hidden(!data('features.story'))
->foldable(data('features.story') && strpos($config->task->create->requiredFields, 'story') === false)
->foldable()
->control($buildStoryBox);
/* Remove story relate jump link. */