Changeset 6782 for sandbox


Ignore:
Timestamp:
07/16/12 08:51:50 (12 years ago)
Author:
marcieli
Message:

Ticket #2951 - Correção verificação preferencias do expressoMail e Calendar.

Location:
sandbox/2.4.2-expresso1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.4.2-expresso1/expressoMail1_2/js/common_functions.js

    r6768 r6782  
    12431243 
    12441244function useDesktopNotification(){ 
    1245     //return preferences.notifications; 
    1246     return true; 
    1247 } 
     1245    return !!parseInt(preferences.notifications); 
     1246} 
  • sandbox/2.4.2-expresso1/prototype/modules/calendar/js/calendar.alarms.js

    r6774 r6782  
    1212            DataLayer.task( parseInt(eventDay.sendTime) , function( timestamp ){ 
    1313 
    14                 if(!activePage && !!parseInt(User.preferences.useDesktopNotification) && desktopNotification.verifyComplement()){ 
     14                if(!activePage && useDesktopNotification() && desktopNotification.verifyComplement()){ 
    1515 
    1616                    desktopNotification.sentNotification( 
Note: See TracChangeset for help on using the changeset viewer.