public/assets/js/application.js
author Vincent Tondellier <tonton+hg@team1664.org>
Wed, 25 Jun 2014 00:16:17 +0200
changeset 22 768aa027e7cb
parent 12 c98d3fa4a948
child 38 6fa3cf9cf915
permissions -rw-r--r--
Added tag 0.0.2 for changeset fab315d8c7a8

// Adapted from socorro
// Licence: same as socorro (MPL ?)
$(document).ready(function () {
    $('.signature-column').append(' <a class="expand" href="#">[Expand]</a>');
    $('.expand').click(function () {
        $(".shortened-signature", $(this).parents('table')).each(function () {
            $(this).text($(this).attr('title')).removeAttr('title');
        });
        $(this).remove();
        return false;
    });
});