mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Hopefully resolve completed vs status with custom statuses.
This commit is contained in:
parent
ecbb564dfe
commit
2dee92b877
@ -393,7 +393,18 @@ app.classes.infolog = AppJS.extend(
|
||||
if (completed || status.value == 'not-started' ||
|
||||
(status.value == 'ongoing') != (percent.value > 0 && percent.value < 100))
|
||||
{
|
||||
percent.value = completed ? 100 : (status.value == 'not-started' ? 0 : 10);
|
||||
if(completed)
|
||||
{
|
||||
percent.value = 100;
|
||||
}
|
||||
else if (status.value == 'not-started')
|
||||
{
|
||||
percent.value = 0;
|
||||
}
|
||||
else if (!completed && percent.value == 100)
|
||||
{
|
||||
percent.value = 10;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user