R54332 - /trunk/infolog/js/app.js

Author: nathangray
New Revision: 54332

URL: http://svn.stylite.de/viewvc/egroupware?rev=54332&view=rev
Log:
Hopefully resolve completed vs status with custom statuses.

Modified:
trunk/infolog/js/app.js

Modified: trunk/infolog/js/app.js
URL: http://svn.stylite.de/viewvc/egroupware/trunk/infolog/js/app.js?rev=54332&r1=54331&r2=54332&view=diff

— trunk/infolog/js/app.js (original)
+++ trunk/infolog/js/app.js Fri Nov 20 17:33:59 2015
@@ -393,7 +393,18 @@
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;
    


eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs