diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-28 11:43:14 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-28 11:43:14 +0000 |
| commit | b15a2f7f444b9700528bf9a400379ff9aedc7e3d (patch) | |
| tree | c65933af3e3d1096a9ccb85846ed7077919cbf0e /roundcubemail/program | |
| parent | cee85749f2fb13c74b344fbbf827b40131939c82 (diff) | |
- removed my code for mouse actions on address searching list (clicking on li wasn't working as expected on FF3, Opera and probably IE)
git-svn-id: https://svn.roundcube.net/trunk@1337 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/js/app.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 07184674e..d7bd39a4e 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -2170,22 +2170,6 @@ function rcube_webmail() }; - // handler for mouse events on address-fields - this.ksearch_onmousemove = function(li) - { - var last = document.getElementById('rcmksearchSelected'); - if (last) - { - last.removeAttribute('id'); - this.set_classname(last, 'selected', false); - } - - li.setAttribute('id', 'rcmksearchSelected'); - this.set_classname(li, 'selected', true); - this.ksearch_selected = li._rcm_id; - }; - - this.insert_recipient = function(id) { if (!this.env.contacts[id] || !this.ksearch_input) @@ -2206,7 +2190,6 @@ function rcube_webmail() cpos = p+insert.length; if (this.ksearch_input.setSelectionRange) this.ksearch_input.setSelectionRange(cpos, cpos); - }; @@ -2275,9 +2258,6 @@ function rcube_webmail() { li = document.createElement('LI'); li.innerHTML = a_results[i].replace(/</, '<').replace(/>/, '>'); - li.onmousedown = function(e){ ref.insert_recipient(this._rcm_id); ref.ksearch_pane.show(0); return rcube_event.cancel(e); }; - li.onmouseover = function(e){ ref.ksearch_onmousemove(this); }; - li.style.cursor = 'pointer'; li._rcm_id = a_result_ids[i]; ul.appendChild(li); } |
