WordPress.org

Support

Support » Plugins and Hacks » [Resolved] hide empty fields in admin inbound message

[Resolved] hide empty fields in admin inbound message

  • hey everyone,

    is there any solution to hide empty fields in the overview of the admin inbound messages? any little hack or something, that the inbound message overview dont show up all the fields they are send with the form.

    hoping anyone has an idea.
    best regards

    http://wordpress.org/plugins/flamingo/

Viewing 1 replies (of 1 total)
  • i have a soluition, not the best way – but it works.
    if someone want the same, just add this after tbody in
    flamingo/admin/includes/meta-boxes.php line 163:

    <script>
    jQuery(document).ready(function() {
    jQuery('table tr.alt').each(function(){
        var hide = true;
        jQuery('td.field-value',this).each(function(){
            if (jQuery.trim(jQuery(this).text()) != "")
                hide = false;
        });
        if(hide)
            jQuery(this).closest('tr').hide();
    });
    });
    </script>

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] hide empty fields in admin inbound message’ is closed to new replies.