diff --git a/src/www/firewall_scrub.php b/src/www/firewall_scrub.php index c087f7c73..aac32ca4c 100644 --- a/src/www/firewall_scrub.php +++ b/src/www/firewall_scrub.php @@ -205,6 +205,15 @@ $( document ).ready(function() { // watch scroll position and set to last known on page load watchScrollPosition(); + // add titles to the fields having long text cut with ellipsis + $('.mightOverflow').on('mouseenter', function(){ + var $this = $(this); + + if(this.offsetWidth < this.scrollWidth && !$this.attr('title')){ + $this.attr('title', $this.text()); + } + }); + }); @@ -313,6 +322,7 @@ $( document ).ready(function() { $scrubEntry):?> @@ -321,7 +331,14 @@ $( document ).ready(function() { "> - + +