equal
deleted
inserted
replaced
|
1 // Adapted from socorro |
|
2 // Licence: same as socorro (MPL ?) |
1 $(document).ready(function () { |
3 $(document).ready(function () { |
2 $('.signature-column').append(' <a class="expand" href="#">[Expand]</a>'); |
4 $('.signature-column').append(' <a class="expand" href="#">[Expand]</a>'); |
3 $('.expand').click(function () { |
5 $('.expand').click(function () { |
4 // swap cell title into cell text for each cell in this column |
|
5 $(".shortened-signature", $(this).parents('table')).each(function () { |
6 $(".shortened-signature", $(this).parents('table')).each(function () { |
6 $(this).text($(this).attr('title')).removeAttr('title'); |
7 $(this).text($(this).attr('title')).removeAttr('title'); |
7 }); |
8 }); |
8 $(this).remove(); |
9 $(this).remove(); |
9 return false; |
10 return false; |