* Fix bug #49388.
This commit is contained in:
@@ -40,3 +40,5 @@ UPDATE `zt_kanbancard` SET `color` = '#fc5959' WHERE `color` = '#cfa227';
|
||||
UPDATE `zt_kanbancard` SET `color` = '#ff9f46' WHERE `color` = '#2a5f29';
|
||||
|
||||
INSERT INTO `zt_cron`(`m`, `h`, `dom`, `mon`, `dow`, `command`, `remark`, `type`, `buildin`, `status`, `lastTime`) VALUES ('0', '*/1', '*', '*', '*', 'moduleName=metric&methodName=updateDashboardMetricLib', '计算仪表盘数据', 'zentao', 1, 'normal', NUll);
|
||||
|
||||
UPDATE `zt_todo` SET `type` = 'custom' WHERE `type` = 'cycle' AND `cycle` = 0;
|
||||
|
||||
@@ -251,12 +251,11 @@ function changeDate(event)
|
||||
* 验证间隔天数是否为空。
|
||||
* Verify if the sapceDay value is empty.
|
||||
*
|
||||
* @param object spaceDay
|
||||
* @return void
|
||||
*/
|
||||
function verifySpaceDay(event)
|
||||
function verifySpaceDay()
|
||||
{
|
||||
if(typeof event.target.value != 'undefined' && !event.target.value) $(event.target).closest('.input-control').addClass('has-error');
|
||||
if($('#spaceDay').length > 0 && !$('#spaceDay').val()) $(this).closest('.input-control').addClass('has-error');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
+1
-1
@@ -181,7 +181,7 @@ class todoTao extends todoModel
|
||||
$newTodo->account = $todo->account;
|
||||
$newTodo->begin = $todo->begin;
|
||||
$newTodo->end = $todo->end;
|
||||
$newTodo->type = 'cycle';
|
||||
$newTodo->type = 'custom';
|
||||
$newTodo->objectID = $todo->id;
|
||||
$newTodo->pri = $todo->pri;
|
||||
$newTodo->name = $todo->name;
|
||||
|
||||
@@ -154,7 +154,7 @@ formPanel
|
||||
(
|
||||
setID('spaceDay'),
|
||||
set::name('config[day]'),
|
||||
on::blur('verifySpaceDay(this)')
|
||||
on::blur('verifySpaceDay')
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user