aboutsummaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-05-29 18:57:14 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-05-29 19:47:44 +0800
commitefd202df779a37001f7da04637f415a6ce575868 (patch)
treeb303ae991f6fd499a0ed8e7cd9cd837f1f7eeb90 /COPYING
parent767fc1d01b6e7526146e1fd134140994fd9d43b5 (diff)
downloadgsoc2013-evolution-efd202df779a37001f7da04637f415a6ce575868.tar
gsoc2013-evolution-efd202df779a37001f7da04637f415a6ce575868.tar.gz
gsoc2013-evolution-efd202df779a37001f7da04637f415a6ce575868.tar.bz2
gsoc2013-evolution-efd202df779a37001f7da04637f415a6ce575868.tar.lz
gsoc2013-evolution-efd202df779a37001f7da04637f415a6ce575868.tar.xz
gsoc2013-evolution-efd202df779a37001f7da04637f415a6ce575868.tar.zst
gsoc2013-evolution-efd202df779a37001f7da04637f415a6ce575868.zip
Distinguish "attachment-wrapper" elements from attachments.
The HTML for attachments always has the following form: <div class="attachment-wrapper" id="something" style="display: block;"> <actual attachment element> </div> The <div> element controls attachment visibility through its "display" style attribute, which is either "block" or "none". Problem is the <actual attachment element> was getting the same ID as its parent <div> element. So when either element was requested by ID, in certain cases the wrong element was returned and caused misbehavior and console warnings. Solve this by adding a "wrapper" suffix to the <div> element ID. So in the example above, id="something" gets the <actual attachment element>, whereas id="something.wrapper" gets the <div> element. (cherry picked from commit 2d251a9597311d4eaaa73556c2c72af5fe62a86e)
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions