Changeset 3073 for trunk/expressoMail1_2/js/base/common_functions.js
- Timestamp:
- 07/20/10 11:45:03 (14 years ago)
- Location:
- trunk/expressoMail1_2/js/base
- Files:
-
- 1 added
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/base/common_functions.js
r2930 r3073 402 402 { 403 403 expresso.connector.loadScript("jscode/QuickCatalogSearch"); 404 if (typeof(QuickCatalogSearch) == 'undefined'){ 405 setTimeout('emQuickSearch("'+emailList+'", "'+field+'", "'+ID+'")',500); 406 return false; 407 } 404 408 QuickCatalogSearch.showList(data, quickSearchKeyBegin, quickSearchKeyEnd); 405 409 } … … 407 411 { 408 412 expresso.connector.loadScript("jscode/QuickSearchUser"); 413 if (typeof(QuickSearchUser) == 'undefined'){ 414 setTimeout('emQuickSearch("'+emailList+'", "'+field+'", "'+ID+'")',500); 415 return false; 416 } 409 417 QuickSearchUser.showList(data); 410 418 } … … 445 453 function folderbox(){ 446 454 expresso.connector.loadScript("jscode/TreeS"); 455 if (typeof(ttree) == 'undefined'){ 456 setTimeout('folderbox()',500); 457 return false; 458 } 447 459 ttree.make_Window(); 448 460 } … … 451 463 expresso.connector.loadScript("jscode/filter"); 452 464 expresso.connector.loadScript("jscode/filters"); 465 if (typeof(filters) == 'undefined') 466 { 467 setTimeout('filterbox()',500); 468 return false; 469 } 453 470 filters.Forms(); 454 471 } … … 463 480 } 464 481 expresso.connector.loadScript("jscode/sharemailbox"); 482 if (typeof(sharemailbox) == 'undefined') 483 { 484 setTimeout('sharebox()',500); 485 return false; 486 } 465 487 sharemailbox.makeWindow(options); 466 488 }; … … 473 495 474 496 function search_emails(value){ 497 expresso.connector.loadScript("TreeS"); 475 498 expresso.connector.loadScript("jscode/search"); 499 if (typeof(EsearchE) == 'undefined' || typeof(ttree) == 'undefined'){ 500 setTimeout('search_emails("'+value+'")',500); 501 return false; 502 } 476 503 EsearchE.showForms(value); 477 504 }
Note: See TracChangeset
for help on using the changeset viewer.