Changeset 1337 in subversion


Ignore:
Timestamp:
Apr 28, 2008 7:43:14 AM (5 years ago)
Author:
alec
Message:
  • removed my code for mouse actions on address searching list (clicking on li wasn't working as expected on FF3, Opera and probably IE)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/js/app.js

    r1333 r1337  
    21712171 
    21722172 
    2173   // handler for mouse events on address-fields 
    2174   this.ksearch_onmousemove = function(li) 
    2175     { 
    2176     var last = document.getElementById('rcmksearchSelected'); 
    2177     if (last) 
    2178       { 
    2179         last.removeAttribute('id'); 
    2180         this.set_classname(last, 'selected', false); 
    2181       } 
    2182  
    2183     li.setAttribute('id', 'rcmksearchSelected'); 
    2184     this.set_classname(li, 'selected', true); 
    2185     this.ksearch_selected = li._rcm_id; 
    2186     }; 
    2187  
    2188  
    21892173  this.insert_recipient = function(id) 
    21902174  { 
     
    22072191    if (this.ksearch_input.setSelectionRange) 
    22082192      this.ksearch_input.setSelectionRange(cpos, cpos); 
    2209      
    22102193  }; 
    22112194 
     
    22762259        li = document.createElement('LI'); 
    22772260        li.innerHTML = a_results[i].replace(/</, '&lt;').replace(/>/, '&gt;'); 
    2278         li.onmousedown = function(e){ ref.insert_recipient(this._rcm_id); ref.ksearch_pane.show(0); return rcube_event.cancel(e); }; 
    2279         li.onmouseover = function(e){ ref.ksearch_onmousemove(this); }; 
    2280         li.style.cursor = 'pointer'; 
    22812261        li._rcm_id = a_result_ids[i]; 
    22822262        ul.appendChild(li); 
Note: See TracChangeset for help on using the changeset viewer.