| author | Vincent Tondellier <tonton+hg@team1664.org> |
| Sun, 25 Jan 2015 22:48:47 +0100 | |
| changeset 56 | 2a4d97741155 |
| parent 38 | 6fa3cf9cf915 |
| child 64 | f66d935647bc |
| permissions | -rw-r--r-- |
| 12 | 1 |
// Adapted from socorro |
2 |
// Licence: same as socorro (MPL ?) |
|
|
3
2ff78fe4abda
Create helper to shorten signatures and create links to the repository
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
3 |
$(document).ready(function () {
|
|
2ff78fe4abda
Create helper to shorten signatures and create links to the repository
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
4 |
$('.signature-column').append(' <a class="expand" href="#">[Expand]</a>');
|
|
2ff78fe4abda
Create helper to shorten signatures and create links to the repository
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
5 |
$('.expand').click(function () {
|
|
2ff78fe4abda
Create helper to shorten signatures and create links to the repository
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
6 |
$(".shortened-signature", $(this).parents('table')).each(function () {
|
|
2ff78fe4abda
Create helper to shorten signatures and create links to the repository
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
7 |
$(this).text($(this).attr('title')).removeAttr('title');
|
|
2ff78fe4abda
Create helper to shorten signatures and create links to the repository
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
8 |
}); |
|
2ff78fe4abda
Create helper to shorten signatures and create links to the repository
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
9 |
$(this).remove(); |
|
2ff78fe4abda
Create helper to shorten signatures and create links to the repository
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
10 |
return false; |
|
2ff78fe4abda
Create helper to shorten signatures and create links to the repository
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
11 |
}); |
|
38
6fa3cf9cf915
Add a filter to display warnings when the backtrace has bad frames
Vincent Tondellier <tonton+hg@team1664.org>
parents:
12
diff
changeset
|
12 |
|
|
6fa3cf9cf915
Add a filter to display warnings when the backtrace has bad frames
Vincent Tondellier <tonton+hg@team1664.org>
parents:
12
diff
changeset
|
13 |
$('a[data-toggle="tooltip"]').tooltip();
|
|
3
2ff78fe4abda
Create helper to shorten signatures and create links to the repository
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
14 |
}); |