aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-07-25 16:26:38 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-07-25 16:26:38 -0300
commit8176c12adfe6c28df1d45588e1160c65107ab3e3 (patch)
tree6f56a4cdf0d657f7fa53bb4bb21aa3e935e55cee
parent470c09da6f4bac6a82168b19adac7c40c2206f72 (diff)
downloadpfsense-packages-8176c12adfe6c28df1d45588e1160c65107ab3e3.tar.gz
pfsense-packages-8176c12adfe6c28df1d45588e1160c65107ab3e3.tar.bz2
pfsense-packages-8176c12adfe6c28df1d45588e1160c65107ab3e3.zip
We don't need a var here
-rw-r--r--config/openbgpd/openbgpd_status.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/openbgpd/openbgpd_status.php b/config/openbgpd/openbgpd_status.php
index 4ed644bd..99076d12 100644
--- a/config/openbgpd/openbgpd_status.php
+++ b/config/openbgpd/openbgpd_status.php
@@ -201,9 +201,8 @@ function execCmds() {
// First line contain field id to be updated
var responseTextArr = transport.responseText.split("\n");
var id = responseTextArr.shift();
- var result = responseTextArr.join("\n");
- document.getElementById(id).textContent = result;
+ document.getElementById(id).textContent = responseTextArr.join("\n");
}
//]]>