* fix form setting in todo/batchcreate view not work.

This commit is contained in:
Catouse
2020-01-09 09:52:17 +08:00
parent 9140195e46
commit 13aa690b33
3 changed files with 16 additions and 15 deletions
+5 -5
View File
@@ -13,6 +13,10 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/datepicker.html.php';?>
<div id='formSettingBtn'>
<?php $customLink = $this->createLink('custom', 'ajaxSaveCustomFields', 'module=todo&section=custom&key=batchCreateFields')?>
<?php include '../../common/view/customfield.html.php';?>
</div>
<form id='todoBatchAddForm' method='post' target='hiddenwin' action='<?php echo $this->createLink('todo', 'batchCreate');?>'>
<div id="mainContent">
<div class="main-header">
@@ -27,10 +31,6 @@
</div>
</span>
</div>
<div class="pull-right btn-toolbar">
<?php $customLink = $this->createLink('custom', 'ajaxSaveCustomFields', 'module=todo&section=custom&key=batchCreateFields')?>
<?php include '../../common/view/customfield.html.php';?>
</div>
</div>
<?php
$visibleFields = array();
@@ -43,7 +43,7 @@
<table class='table table-form table-fixed with-border'>
<thead>
<tr>
<th class='col-id'><?php echo $lang->idAB;?></th>
<th class='col-id'><?php echo $lang->idAB;?></th>
<th class='col-type<?php echo zget($visibleFields, 'type', ' hidden')?>'><?php echo $lang->todo->type;?></th>
<th class='col-pri<?php echo zget($visibleFields, 'pri', ' hidden')?>'><?php echo $lang->todo->pri;?></th>
<th class='col-name required'><?php echo $lang->todo->name;?></th>