diff options
author | Renato Botelho <garga@FreeBSD.org> | 2015-02-02 15:28:23 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-02-02 15:28:51 -0200 |
commit | 4520b2d2b70caa48813f73f89ef5b9c942ea5b25 (patch) | |
tree | 4c7dd86f0ff256148e7e366c1a9e43e4f34dc16d /usr/local/www/javascript/firewall_shaper_edit/autosuggest.js | |
parent | cd214f4b2801381304209dcf2b92066b6f12589e (diff) | |
download | pfsense-4520b2d2b70caa48813f73f89ef5b9c942ea5b25.zip pfsense-4520b2d2b70caa48813f73f89ef5b9c942ea5b25.tar.gz |
Fix aliases popup width when fields are hidden when page is loaded. It should fix #4238
Diffstat (limited to 'usr/local/www/javascript/firewall_shaper_edit/autosuggest.js')
-rw-r--r-- | usr/local/www/javascript/firewall_shaper_edit/autosuggest.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/javascript/firewall_shaper_edit/autosuggest.js b/usr/local/www/javascript/firewall_shaper_edit/autosuggest.js index 6f0c107..d9b5ac0 100644 --- a/usr/local/www/javascript/firewall_shaper_edit/autosuggest.js +++ b/usr/local/www/javascript/firewall_shaper_edit/autosuggest.js @@ -314,6 +314,7 @@ AutoSuggestControl.prototype.showSuggestions = function (aSuggestions /*:Array*/ this.layer.style.left = this.getLeft() + "px"; this.layer.style.top = (this.getTop()+this.textbox.offsetHeight) + "px"; + this.layer.style.width = this.textbox.offsetWidth + "px"; this.layer.style.visibility = "visible"; }; |