Changeset 643 for trunk/phpbms/common
- Timestamp:
- 09/02/09 14:00:56 (3 years ago)
- Location:
- trunk/phpbms/common/javascript
- Files:
-
- 3 modified
-
fields.js (modified) (1 diff)
-
queryfunctions.js (modified) (7 diffs)
-
smartsearch.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/common/javascript/fields.js
r510 r643 49 49 50 50 //need to itterate though all fields... if you find 51 // --not found-- anywhere.... inv laidate the form51 // --not found-- anywhere.... invalidate the form 52 52 for(i=0;i<theform.length;i++){ 53 53 if(theform[i].value && theform[i].value=="--not found--"){ -
trunk/phpbms/common/javascript/queryfunctions.js
r559 r643 322 322 } 323 323 324 // Pass the Sort Parameters and sub it the form324 // Pass the Sort Parameters and submit the form 325 325 function doSort(i){ 326 326 var theform=document.forms["search"]; … … 330 330 } 331 331 332 // Pass the Sort Parameters and sub it the form332 // Pass the Sort Parameters and submit the form 333 333 function doDescSort(){ 334 334 theform=document.forms["search"]; … … 364 364 365 365 366 function perf romToSelection(option){366 function performToSelection(option){ 367 367 368 368 var thereset=getObjectFromID("reset"); … … 582 582 var searchname=getObjectFromID("LSSelectedSearch"); 583 583 var sqlbox=getObjectFromID("LSSQL"); 584 var re ultbox=getObjectFromID("LSResults");584 var resultbox=getObjectFromID("LSResults"); 585 585 if (theselect.value=="NA"){ 586 586 loadbutton.disabled=true; … … 589 589 sqlbox.value=""; 590 590 } else { 591 re ultbox.innerHTML="<img src=\""+base+"common/image/spinner.gif\" alt=\"0\" width=\"16\" height=\"16\" align=\"absmiddle\"> <strong>Loading...</strong>";591 resultbox.innerHTML="<img src=\""+base+"common/image/spinner.gif\" alt=\"0\" width=\"16\" height=\"16\" align=\"absmiddle\"> <strong>Loading...</strong>"; 592 592 var theURL=base+"loadsearch.php?cmd=getsearch&id="+theselect.value; 593 593 loadXMLDoc(theURL,null,false); … … 603 603 else 604 604 deletebutton.disabled=true; 605 re ultbox.innerHTML="";605 resultbox.innerHTML=""; 606 606 } 607 607 } … … 615 615 function LSDeleteSearch(base){ 616 616 var theselect=getObjectFromID("LSList"); 617 var re ultbox=getObjectFromID("LSResults");618 619 re ultbox.innerHTML="<img src=\""+base+"common/image/spinner.gif\" alt=\"0\" width=\"16\" height=\"16\" align=\"absmiddle\"> <strong>Loading...</strong>";617 var resultbox=getObjectFromID("LSResults"); 618 619 resultbox.innerHTML="<img src=\""+base+"common/image/spinner.gif\" alt=\"0\" width=\"16\" height=\"16\" align=\"absmiddle\"> <strong>Loading...</strong>"; 620 620 var theURL=base+"loadsearch.php?cmd=deletesearch&id="+theselect.value; 621 621 loadXMLDoc(theURL,null,false); 622 622 if(req.responseText=="success"){ 623 re ultbox.innerHTML="";623 resultbox.innerHTML=""; 624 624 theselect.options[theselect.selectedIndex]=null; 625 625 if(theselect.options.length==1){ -
trunk/phpbms/common/javascript/smartsearch.js
r493 r643 68 68 69 69 } else { 70 //it 's possible they hit the down, up arrow, or the return button70 //it is possible they hit the down, up arrow, or the return button 71 71 72 72 var key = e.event().keyCode;