Ignore:
Timestamp:
09/07/11 09:55:41 (13 years ago)
Author:
fernando-alberto
Message:

Ticket #1269 - Desenvolvimento da nova solucao de arquivamento local MailArchiver?, ajuste paginacao

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/expressoMail1_2/MailArchiver/2.2/expressoMail1_2/js/MAQueryConfig.js

    r5048 r5070  
    6363   //expresso default argument list => new Array(baseFolder,msg_range_begin,emails_per_page,sort_box_type,sort_box_reverse,preview_msg_subject,preview_msg_tip); 
    6464   this.setFolder(data_default[0]); 
     65   //window.alert('vai setar defaults low e high com ' + data_default[1] +  ' - ' + data_default[2]); 
    6566   this.setBounds(data_default[1], data_default[2]); 
    6667    
     
    107108//setbounds up and down 
    108109MAQueryConfig.prototype.setBounds = function(low, high){ 
     110  //window.alert('setbounds low = ' + low + ' high = ' + high); 
    109111  this.lowerIndex = '"@lowerIndex":"'+(parseInt(low)-1)+'",'; 
    110112  this.upperIndex = '"@upperIndex":"'+(parseInt(high)-1)+'",'; 
     
    347349//Query criteria (core api) 
    348350MAQueryConfig.prototype.query = function(offsetlow,offsethight, criterialist){ 
     351  //window.alert('MAquery low = ' + offsetlow + ' - hight = ' + offsethight); 
    349352  if ((offsetlow) && (offsethight)) 
    350353    this.setBounds(offsetlow, offsethight); 
     
    355358  //window.alert('em qc com lower = ' + this.lowerIndex + ' e upper = ' + this.upperIndex); 
    356359  var querystring = '{"query":{' + this.lowerIndex + this.upperIndex; 
     360  //window.alert('queryString init = ' + querystring); 
    357361  querystring += this.getFrom(); 
    358362  querystring += this.getTo(); 
Note: See TracChangeset for help on using the changeset viewer.