summaryrefslogtreecommitdiffstats
path: root/usr/local/www/javascript
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:51 -0200
commit4520b2d2b70caa48813f73f89ef5b9c942ea5b25 (patch)
tree4c7dd86f0ff256148e7e366c1a9e43e4f34dc16d /usr/local/www/javascript
parentcd214f4b2801381304209dcf2b92066b6f12589e (diff)
downloadpfsense-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')
-rw-r--r--usr/local/www/javascript/autosuggest.js1
-rw-r--r--usr/local/www/javascript/firewall_nat_edit/autosuggest.js1
-rw-r--r--usr/local/www/javascript/firewall_rules_edit/autosuggest.js1
-rw-r--r--usr/local/www/javascript/firewall_shaper_edit/autosuggest.js1
-rw-r--r--usr/local/www/javascript/wizard/autosuggest.js1
5 files changed, 5 insertions, 0 deletions
diff --git a/usr/local/www/javascript/autosuggest.js b/usr/local/www/javascript/autosuggest.js
index 6f0c107..d9b5ac0 100644
--- a/usr/local/www/javascript/autosuggest.js
+++ b/usr/local/www/javascript/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";
};
diff --git a/usr/local/www/javascript/firewall_nat_edit/autosuggest.js b/usr/local/www/javascript/firewall_nat_edit/autosuggest.js
index 6f0c107..d9b5ac0 100644
--- a/usr/local/www/javascript/firewall_nat_edit/autosuggest.js
+++ b/usr/local/www/javascript/firewall_nat_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";
};
diff --git a/usr/local/www/javascript/firewall_rules_edit/autosuggest.js b/usr/local/www/javascript/firewall_rules_edit/autosuggest.js
index 6f0c107..d9b5ac0 100644
--- a/usr/local/www/javascript/firewall_rules_edit/autosuggest.js
+++ b/usr/local/www/javascript/firewall_rules_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";
};
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";
};
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