summaryrefslogtreecommitdiffstats
path: root/usr/local/www/javascript/wizard/autosuggest.js
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-02-02 15:28:23 -0200
committerRenato Botelho <garga@FreeBSD.org>2015-02-02 15:28:36 -0200
commit6672609b90a8e60a13ca471a3ad3e054eca542bd (patch)
treed68e0a84c7143ac78c1fe7ef91d47f9c8e9479b9 /usr/local/www/javascript/wizard/autosuggest.js
parent5e964cfdd37513380327ad653db0310a0f8569ac (diff)
downloadpfsense-6672609b90a8e60a13ca471a3ad3e054eca542bd.zip
pfsense-6672609b90a8e60a13ca471a3ad3e054eca542bd.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/wizard/autosuggest.js')
-rw-r--r--usr/local/www/javascript/wizard/autosuggest.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/javascript/wizard/autosuggest.js b/usr/local/www/javascript/wizard/autosuggest.js
index 6f0c107..d9b5ac0 100644
--- a/usr/local/www/javascript/wizard/autosuggest.js
+++ b/usr/local/www/javascript/wizard/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";
};
OpenPOWER on IntegriCloud