diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-03-18 18:46:03 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-03-18 18:46:03 +0000 |
| commit | 542100f52706cb2b433250d9d8d10c039b8becaa (patch) | |
| tree | 2a9dfa70cab839af13fccc2952ff4b724867911a /roundcubemail/program/js/common.js | |
| parent | 63b816e27263b8fb45aee0273e8cfe822f7428c1 (diff) | |
Improved contacts drop down; HTML output improvements; JS code cleanup
git-svn-id: https://svn.roundcube.net/trunk@510 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/common.js')
| -rw-r--r-- | roundcubemail/program/js/common.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/roundcubemail/program/js/common.js b/roundcubemail/program/js/common.js index 2df349a91..82d7ed17c 100644 --- a/roundcubemail/program/js/common.js +++ b/roundcubemail/program/js/common.js @@ -496,7 +496,7 @@ function rcube_find_object(id, d) { if(d.layers[id]) obj = d.layers[id]; for(n=0; !obj && n<d.layers.length; n++) - obj = nex_get_object(id, d.layers[n].document); + obj = rcube_find_object(id, d.layers[n].document); } return obj; @@ -507,7 +507,7 @@ function rcube_find_object(id, d) function rcube_get_object_pos(obj) { if(typeof(obj)=='string') - obj = nex_get_object(obj); + obj = rcube_find_object(obj); if(!obj) return {x:0, y:0}; @@ -525,8 +525,8 @@ function rcube_get_object_pos(obj) } } - if(bw.mac && bw.ie5) iX += document.body.leftMargin; - if(bw.mac && bw.ie5) iY += document.body.topMargin; + //if(bw.mac && bw.ie5) iX += document.body.leftMargin; + //if(bw.mac && bw.ie5) iY += document.body.topMargin; return {x:iX, y:iY}; } @@ -548,7 +548,7 @@ function get_elements_computed_style(html_element, css_property, mozilla_equival var el = html_element; if (typeof(html_element)=='string') - el = nex_get_object(html_element); + el = rcube_find_object(html_element); if (el && el.currentStyle) return el.currentStyle[css_property]; |
