* [bug#63337,done,0.2h] fix bug.
This commit is contained in:
@@ -31,8 +31,8 @@ $config->todo->batchCreate->form['pri'] = array('required' => false, 'typ
|
||||
$config->todo->batchCreate->form['name'] = array('required' => false, 'type' => 'string', 'base' => true);
|
||||
$config->todo->batchCreate->form['desc'] = array('required' => false, 'type' => 'string');
|
||||
$config->todo->batchCreate->form['assignedTo'] = array('required' => false, 'type' => 'string');
|
||||
$config->todo->batchCreate->form['begin'] = array('required' => false, 'type' => 'int', 'default' => 2400);
|
||||
$config->todo->batchCreate->form['end'] = array('required' => false, 'type' => 'int', 'default' => 2400);
|
||||
$config->todo->batchCreate->form['begin'] = array('required' => false, 'type' => 'int');
|
||||
$config->todo->batchCreate->form['end'] = array('required' => false, 'type' => 'int');
|
||||
$config->todo->batchCreate->form['switchTime'] = array('required' => false, 'type' => 'string', 'default' => '');
|
||||
$config->todo->batchCreate->form['vision'] = array('required' => false, 'type' => 'string', 'default' => $this->config->vision);
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@ window.changeType = function(e)
|
||||
|
||||
if(moduleList.indexOf(type) !== -1)
|
||||
{
|
||||
index = index + 1;
|
||||
link = $.createLink(type, objectsMethod[type], param);
|
||||
$.get(link, function(data)
|
||||
{
|
||||
|
||||
+1
-1
@@ -234,7 +234,7 @@ class todoZen extends todo
|
||||
*/
|
||||
protected function beforeBatchCreate(form $form): array|false
|
||||
{
|
||||
$todos = $form->get();
|
||||
$todos = $form->cleanInt('pri, begin, end')->get();
|
||||
foreach($todos as $rawID => $todo)
|
||||
{
|
||||
if($todo->end < $todo->begin)
|
||||
|
||||
Reference in New Issue
Block a user