Changeset 5990


Ignore:
Timestamp:
10/11/09 16:44:52 (10 years ago)
Author:
sdonegan
Message:

Updated to handle new search methodology and not to auto select first vocab selection

Location:
MILK/trunk/milk_server/milk_server/public/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/public/js/autocomplete.js

    r5201 r5990  
    1616 
    1717    oAC.minQueryLength = 2; 
    18     oAC.forceSelection = true;  
     18    oAC.forceSelection = false;  
    1919    oAC.maxResultsDisplayed = 20; 
    20         oAC.useShadow = true; 
     20        oAC.useShadow = false; 
     21        oAC.autoHighlight = false; // added as requested that first value shouldnt highlight.. 
    2122             
    2223    return { 
  • MILK/trunk/milk_server/milk_server/public/js/toggleDiv.js

    r5863 r5990  
    130130                }  
    131131        }  
    132 }  
     132} 
     133 
     134function removeSelection(selection) { 
     135 
     136    //simple function to remove contents of prior input     
     137    document.getElementById(selection).innerHTML=''; 
     138   
     139    //thisNode = document.getElementById(selection); 
     140    //thisNode.removeNode(true); 
     141    //selection.parentNode.removeChild(selection) 
     142 
     143} 
    133144 
    134145 
Note: See TracChangeset for help on using the changeset viewer.