Ignore:
Timestamp:
08/09/12 16:46:57 (12 years ago)
Author:
acoutinho
Message:

Ticket #2966 - Suporte a edicao de tarefas na edicao de tarefas

File:
1 edited

Legend:

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

    r6974 r6977  
    9999} 
    100100 
    101 function taskDetails(objTask, decoded, path, isMail, repeat) { 
     101function taskDetails(objTask, decoded, path, isMail, repeat, isActivityView) { 
    102102 
    103103    $('.qtip.qtip-blue').remove(); 
     
    278278                                    canDiscardTaskDialog = true; 
    279279                                    /** 
    280                                      *Remoção dos anexos da task caso seja cancelado a ediçãoo 
     280                                     *Remoção dos anexos da task caso seja cancelado a edição 
    281281                                     */ 
    282282                                    DataLayer.rollback(); 
     
    487487        UI.dialogs.addTask.find('input[name="summary"]').focus(); 
    488488                 
    489                 if (msg = validDateTask()) { 
     489        if (msg = validDateTask()) { 
    490490            $(".new-task-win.active").find('.messages-validation').removeClass('hidden').find('.message label').html(msg); 
    491491            return false; 
    492492        } 
    493                 canDiscardTaskDialog = true; 
     493        canDiscardTaskDialog = true; 
     494         
     495        if(isActivityView) 
     496            updateActivity = true; 
    494497 
    495498        UI.dialogs.addTask.children().find('form.form-addtask').submit(); 
Note: See TracChangeset for help on using the changeset viewer.