- Timestamp:
- 09/07/11 09:55:41 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/expressoMail1_2/MailArchiver/2.2/expressoMail1_2/js/MAQueryConfig.js
r5048 r5070 63 63 //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); 64 64 this.setFolder(data_default[0]); 65 //window.alert('vai setar defaults low e high com ' + data_default[1] + ' - ' + data_default[2]); 65 66 this.setBounds(data_default[1], data_default[2]); 66 67 … … 107 108 //setbounds up and down 108 109 MAQueryConfig.prototype.setBounds = function(low, high){ 110 //window.alert('setbounds low = ' + low + ' high = ' + high); 109 111 this.lowerIndex = '"@lowerIndex":"'+(parseInt(low)-1)+'",'; 110 112 this.upperIndex = '"@upperIndex":"'+(parseInt(high)-1)+'",'; … … 347 349 //Query criteria (core api) 348 350 MAQueryConfig.prototype.query = function(offsetlow,offsethight, criterialist){ 351 //window.alert('MAquery low = ' + offsetlow + ' - hight = ' + offsethight); 349 352 if ((offsetlow) && (offsethight)) 350 353 this.setBounds(offsetlow, offsethight); … … 355 358 //window.alert('em qc com lower = ' + this.lowerIndex + ' e upper = ' + this.upperIndex); 356 359 var querystring = '{"query":{' + this.lowerIndex + this.upperIndex; 360 //window.alert('queryString init = ' + querystring); 357 361 querystring += this.getFrom(); 358 362 querystring += this.getTo();
Note: See TracChangeset
for help on using the changeset viewer.