Ignore:
Timestamp:
03/11/08 14:50:37 (16 years ago)
Author:
niltonneto
Message:

Ver ticket #46:
Não permitir mais de um clique no botão 'aceitar' na mensagem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/calendar/inc/class.bocalendar.inc.php

    r204 r212  
    24532453                                return False; 
    24542454                        } 
     2455                        $event = $this->so->read_entry($cal_id); 
     2456                        $account_id = $GLOBALS['phpgw_info']['user']['account_id']; 
     2457                        if(($status2msg[$status] == "5" && $event['participants'][$account_id] == "A") || 
     2458                         ($status2msg[$status] == "3" && $event['participants'][$account_id] == "R")) { 
     2459                                return True; 
     2460                        } 
    24552461                        $this->so->set_status($cal_id,$status); 
    24562462                        $event = $this->so->read_entry($cal_id); 
    24572463                        $this->send_update($status2msg[$status],$event['participants'],$event); 
    24582464 
    2459                         return True; 
    24602465                } 
    24612466 
Note: See TracChangeset for help on using the changeset viewer.