Changeset 6979


Ignore:
Timestamp:
08/09/12 17:04:52 (7 years ago)
Author:
thiago
Message:

Ticket #2966 - verificando se o evento possue apenas um dia.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.4.2-expresso1/prototype/modules/calendar/js/calendar.codecs.js

    r6977 r6979  
    14421442                    dates[index] = {events:  []};                     
    14431443 
    1444                 res2['isOneDay'] = duration <= 86400000 ? true : false; 
     1444                                res2['isOneDay'] = res2.startDate == res2.endDate ? true : false; 
    14451445 
    14461446                dates[index].events.push(res2); 
     
    14641464            next = (next + 86400000) > end ? false : (next + 86400000); 
    14651465        } 
    1466  
    1467  
    14681466        res = {events: response}; 
    14691467    } 
Note: See TracChangeset for help on using the changeset viewer.