- Timestamp:
- 12/23/11 14:21:33 (13 years ago)
- Location:
- trunk/expressoMail1_2/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/draw_api.js
r5283 r5285 556 556 557 557 if(current_page == i || (i == total_pages && !hasMarked)) { 558 lnk_page = document.createElement("SPAN"); 558 lnk_page = document.createElement("SPAN"); 559 559 span_paging.appendChild(lnk_page); 560 lnk_page.style.color = "red"; 560 561 lnk_page.innerHTML = " <b>"+i+"</b> "; 561 562 hasMarked = true; -
trunk/expressoMail1_2/js/search.js
r5267 r5285 265 265 } 266 266 267 if(this.page != 0 ) {267 if(this.page != 0 && this.page != null) { 268 268 _link = document.createElement("A"); 269 269 if( this.value ) … … 302 302 303 303 var hasMarked = false; 304 if(this.page == null){ 305 this.page = 0; 306 } 304 307 for(i = this.lastPage; i <= this.totalPages; i++) 305 308 { … … 325 328 _link.href = 'javascript:EsearchE.page='+i+';'; 326 329 _link.href += 'cExecute("$this.imap_functions.search_msg",openpage,"condition='+this.condition+'&sort_type='+this.sort_type+'&page='+_page+'¤t_tab='+currentTab+'");'; 327 }330 } 328 331 } 329 332 _link.innerHTML = " ... "; … … 340 343 341 344 span_pg.appendChild( _link ); 342 345 } 343 346 344 347 if(this.page != (this.totalPages - 1)) { … … 349 352 _link.href = 'javascript:EsearchE.page='+(this.totalPages-1)+';'; 350 353 _link.href += 'cExecute("$this.imap_functions.search_msg",openpage,"condition='+this.condition+'&sort_type='+this.sort_type+'&page='+(this.totalPages-1)+'¤t_tab='+currentTab+'");'; 351 }354 } 352 355 } 353 356 else { … … 362 365 363 366 Element("div_menu_c3").appendChild(span_pg); 364 367 } 365 368 366 369 searchE.prototype.searchFor = function( borderID, sortType )
Note: See TracChangeset
for help on using the changeset viewer.